diff --git a/specification/_json_spec/cat.segments.json b/specification/_json_spec/cat.segments.json index 18e3225d81..db6bede741 100644 --- a/specification/_json_spec/cat.segments.json +++ b/specification/_json_spec/cat.segments.json @@ -74,14 +74,17 @@ }, "ignore_unavailable": { "type": "boolean", + "default": false, "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed). Only allowed when providing an index expression." }, "ignore_throttled": { "type": "boolean", + "default": false, "description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled. Only allowed when providing an index expression." }, "allow_no_indices": { "type": "boolean", + "default": true, "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). Only allowed when providing an index expression." }, "expand_wildcards": { diff --git a/specification/_json_spec/indices.data_streams_stats.json b/specification/_json_spec/indices.data_streams_stats.json index eee1dc33e3..81b04c70ea 100644 --- a/specification/_json_spec/indices.data_streams_stats.json +++ b/specification/_json_spec/indices.data_streams_stats.json @@ -26,6 +26,14 @@ } } ] + }, + "params": { + "expand_wildcards": { + "type": "list", + "description": "Whether to expand wildcard expressions to concrete data stream names that are open, closed or both.", + "default": "open,closed", + "options": ["all", "closed", "hidden", "none", "open"] + } } } } diff --git a/specification/_json_spec/inference.chat_completion_unified.json b/specification/_json_spec/inference.chat_completion_unified.json index 91c7c8d19d..82b374d666 100644 --- a/specification/_json_spec/inference.chat_completion_unified.json +++ b/specification/_json_spec/inference.chat_completion_unified.json @@ -27,6 +27,13 @@ "body": { "description": "The inference payload", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference request to complete.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.completion.json b/specification/_json_spec/inference.completion.json index 6cbb9f172a..03cda60961 100644 --- a/specification/_json_spec/inference.completion.json +++ b/specification/_json_spec/inference.completion.json @@ -27,6 +27,13 @@ "body": { "description": "The inference payload", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference request to complete.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.inference.json b/specification/_json_spec/inference.inference.json index 262b87d61d..151d91b5e5 100644 --- a/specification/_json_spec/inference.inference.json +++ b/specification/_json_spec/inference.inference.json @@ -41,6 +41,13 @@ "body": { "description": "The inference payload", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "The amount of time to wait for the inference request to complete.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put.json b/specification/_json_spec/inference.put.json index 12c8816077..2226f2aabe 100644 --- a/specification/_json_spec/inference.put.json +++ b/specification/_json_spec/inference.put.json @@ -41,6 +41,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_alibabacloud.json b/specification/_json_spec/inference.put_alibabacloud.json index 24306a124f..388d8edf4b 100644 --- a/specification/_json_spec/inference.put_alibabacloud.json +++ b/specification/_json_spec/inference.put_alibabacloud.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_amazonbedrock.json b/specification/_json_spec/inference.put_amazonbedrock.json index e730d6a4dd..b605633bec 100644 --- a/specification/_json_spec/inference.put_amazonbedrock.json +++ b/specification/_json_spec/inference.put_amazonbedrock.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_amazonsagemaker.json b/specification/_json_spec/inference.put_amazonsagemaker.json index c310b2733c..0a88a359a3 100644 --- a/specification/_json_spec/inference.put_amazonsagemaker.json +++ b/specification/_json_spec/inference.put_amazonsagemaker.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_anthropic.json b/specification/_json_spec/inference.put_anthropic.json index f57d219ae0..2583c0f191 100644 --- a/specification/_json_spec/inference.put_anthropic.json +++ b/specification/_json_spec/inference.put_anthropic.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_azureaistudio.json b/specification/_json_spec/inference.put_azureaistudio.json index 045abbff7d..75d95e71f9 100644 --- a/specification/_json_spec/inference.put_azureaistudio.json +++ b/specification/_json_spec/inference.put_azureaistudio.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_azureopenai.json b/specification/_json_spec/inference.put_azureopenai.json index cfb57794ec..5a454aee25 100644 --- a/specification/_json_spec/inference.put_azureopenai.json +++ b/specification/_json_spec/inference.put_azureopenai.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_cohere.json b/specification/_json_spec/inference.put_cohere.json index 0e788e355c..98cfad9c27 100644 --- a/specification/_json_spec/inference.put_cohere.json +++ b/specification/_json_spec/inference.put_cohere.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_deepseek.json b/specification/_json_spec/inference.put_deepseek.json index e00dffe75e..07ed25a2f6 100644 --- a/specification/_json_spec/inference.put_deepseek.json +++ b/specification/_json_spec/inference.put_deepseek.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_elasticsearch.json b/specification/_json_spec/inference.put_elasticsearch.json index c8e6d0c079..4bd58f5602 100644 --- a/specification/_json_spec/inference.put_elasticsearch.json +++ b/specification/_json_spec/inference.put_elasticsearch.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_elser.json b/specification/_json_spec/inference.put_elser.json index 075af54a70..71f08f3fc8 100644 --- a/specification/_json_spec/inference.put_elser.json +++ b/specification/_json_spec/inference.put_elser.json @@ -35,6 +35,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_googleaistudio.json b/specification/_json_spec/inference.put_googleaistudio.json index 2686bb733b..bb1af28073 100644 --- a/specification/_json_spec/inference.put_googleaistudio.json +++ b/specification/_json_spec/inference.put_googleaistudio.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_googlevertexai.json b/specification/_json_spec/inference.put_googlevertexai.json index 8cec943da5..a4847ca143 100644 --- a/specification/_json_spec/inference.put_googlevertexai.json +++ b/specification/_json_spec/inference.put_googlevertexai.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_hugging_face.json b/specification/_json_spec/inference.put_hugging_face.json index befa772518..57abe3b5d9 100644 --- a/specification/_json_spec/inference.put_hugging_face.json +++ b/specification/_json_spec/inference.put_hugging_face.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_jinaai.json b/specification/_json_spec/inference.put_jinaai.json index 5db6c3f38b..a7d0fefa4f 100644 --- a/specification/_json_spec/inference.put_jinaai.json +++ b/specification/_json_spec/inference.put_jinaai.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_mistral.json b/specification/_json_spec/inference.put_mistral.json index 2c51cd01cd..b37237cd6e 100644 --- a/specification/_json_spec/inference.put_mistral.json +++ b/specification/_json_spec/inference.put_mistral.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_openai.json b/specification/_json_spec/inference.put_openai.json index b488493a4b..13d9a2a4c1 100644 --- a/specification/_json_spec/inference.put_openai.json +++ b/specification/_json_spec/inference.put_openai.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_voyageai.json b/specification/_json_spec/inference.put_voyageai.json index f9a69a21af..69c0768fda 100644 --- a/specification/_json_spec/inference.put_voyageai.json +++ b/specification/_json_spec/inference.put_voyageai.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_watsonx.json b/specification/_json_spec/inference.put_watsonx.json index cfcbadec48..3e879d6aca 100644 --- a/specification/_json_spec/inference.put_watsonx.json +++ b/specification/_json_spec/inference.put_watsonx.json @@ -31,6 +31,13 @@ "body": { "description": "The inference endpoint's task and service settings", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.rerank.json b/specification/_json_spec/inference.rerank.json index 1447be36c9..66b0b68735 100644 --- a/specification/_json_spec/inference.rerank.json +++ b/specification/_json_spec/inference.rerank.json @@ -27,6 +27,13 @@ "body": { "description": "The inference payload", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "The amount of time to wait for the inference request to complete.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.sparse_embedding.json b/specification/_json_spec/inference.sparse_embedding.json index fb81659b22..1139cb02e1 100644 --- a/specification/_json_spec/inference.sparse_embedding.json +++ b/specification/_json_spec/inference.sparse_embedding.json @@ -27,6 +27,13 @@ "body": { "description": "The inference payload", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference request to complete.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.stream_completion.json b/specification/_json_spec/inference.stream_completion.json index 73c5f39b86..5cd4acf95c 100644 --- a/specification/_json_spec/inference.stream_completion.json +++ b/specification/_json_spec/inference.stream_completion.json @@ -27,6 +27,13 @@ "body": { "description": "The inference payload", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "The amount of time to wait for the inference request to complete.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.text_embedding.json b/specification/_json_spec/inference.text_embedding.json index 6ab0891a67..361d891003 100644 --- a/specification/_json_spec/inference.text_embedding.json +++ b/specification/_json_spec/inference.text_embedding.json @@ -27,6 +27,13 @@ "body": { "description": "The inference payload", "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference request to complete.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/ml.validate_detector.json b/specification/_json_spec/ml.validate_detector.json index adbaa7f93a..5364d79d8d 100644 --- a/specification/_json_spec/ml.validate_detector.json +++ b/specification/_json_spec/ml.validate_detector.json @@ -1,7 +1,7 @@ { "ml.validate_detector": { "documentation": { - "url": "https://www.elastic.co/docs/api/doc/elasticsearch/v8", + "url": null, "description": "Validate an anomaly detection job" }, "stability": "stable",