From b46905627848c4a86df9b1a0a16de35e8e1c3adc Mon Sep 17 00:00:00 2001 From: pquentin <42327+pquentin@users.noreply.github.com> Date: Fri, 7 Nov 2025 04:07:29 +0000 Subject: [PATCH] Update rest-api-spec --- output/openapi/elasticsearch-openapi.json | 2 +- output/schema/schema.json | 2 +- specification/_json_spec/cat.segments.json | 3 +++ specification/_json_spec/esql.get_query.json | 2 +- specification/_json_spec/esql.list_queries.json | 2 +- specification/_json_spec/indices.data_streams_stats.json | 8 ++++++++ specification/_json_spec/indices.resolve_index.json | 1 - .../_json_spec/inference.chat_completion_unified.json | 7 +++++++ specification/_json_spec/inference.completion.json | 7 +++++++ specification/_json_spec/inference.inference.json | 7 +++++++ specification/_json_spec/inference.put.json | 7 +++++++ specification/_json_spec/inference.put_ai21.json | 7 +++++++ specification/_json_spec/inference.put_alibabacloud.json | 7 +++++++ specification/_json_spec/inference.put_amazonbedrock.json | 7 +++++++ .../_json_spec/inference.put_amazonsagemaker.json | 7 +++++++ specification/_json_spec/inference.put_anthropic.json | 7 +++++++ specification/_json_spec/inference.put_azureaistudio.json | 7 +++++++ specification/_json_spec/inference.put_azureopenai.json | 7 +++++++ specification/_json_spec/inference.put_cohere.json | 7 +++++++ specification/_json_spec/inference.put_contextualai.json | 7 +++++++ specification/_json_spec/inference.put_deepseek.json | 7 +++++++ specification/_json_spec/inference.put_elasticsearch.json | 7 +++++++ specification/_json_spec/inference.put_elser.json | 7 +++++++ .../_json_spec/inference.put_googleaistudio.json | 7 +++++++ .../_json_spec/inference.put_googlevertexai.json | 7 +++++++ specification/_json_spec/inference.put_hugging_face.json | 7 +++++++ specification/_json_spec/inference.put_jinaai.json | 7 +++++++ specification/_json_spec/inference.put_llama.json | 7 +++++++ specification/_json_spec/inference.put_mistral.json | 7 +++++++ specification/_json_spec/inference.put_openai.json | 7 +++++++ specification/_json_spec/inference.put_voyageai.json | 7 +++++++ specification/_json_spec/inference.put_watsonx.json | 7 +++++++ specification/_json_spec/inference.rerank.json | 7 +++++++ specification/_json_spec/inference.sparse_embedding.json | 7 +++++++ specification/_json_spec/inference.stream_completion.json | 7 +++++++ specification/_json_spec/inference.text_embedding.json | 7 +++++++ specification/_json_spec/ml.validate_detector.json | 2 +- specification/_json_spec/project.tags.json | 4 ++-- 38 files changed, 221 insertions(+), 8 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index a12236400c..55c8725c95 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -35503,7 +35503,7 @@ } } }, - "x-state": "Technical preview", + "x-state": "Generally available", "x-metaTags": [ { "content": "Elasticsearch", diff --git a/output/schema/schema.json b/output/schema/schema.json index c60bbe8599..498ae267c5 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -16564,7 +16564,7 @@ "visibility": "public" }, "stack": { - "stability": "experimental", + "stability": "stable", "visibility": "public" } }, diff --git a/specification/_json_spec/cat.segments.json b/specification/_json_spec/cat.segments.json index d33bb93cd4..9e37e9b195 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/esql.get_query.json b/specification/_json_spec/esql.get_query.json index 25588314e3..25e651349f 100644 --- a/specification/_json_spec/esql.get_query.json +++ b/specification/_json_spec/esql.get_query.json @@ -1,7 +1,7 @@ { "esql.get_query": { "documentation": { - "url": null, + "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-esql-get-query", "description": "Get a specific running ES|QL query information" }, "stability": "experimental", diff --git a/specification/_json_spec/esql.list_queries.json b/specification/_json_spec/esql.list_queries.json index 0eddd509ba..3064ce8210 100644 --- a/specification/_json_spec/esql.list_queries.json +++ b/specification/_json_spec/esql.list_queries.json @@ -1,7 +1,7 @@ { "esql.list_queries": { "documentation": { - "url": null, + "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-esql-list-queries", "description": "Get running ES|QL queries information" }, "stability": "experimental", diff --git a/specification/_json_spec/indices.data_streams_stats.json b/specification/_json_spec/indices.data_streams_stats.json index e313ca3374..cb6e15f8d2 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/indices.resolve_index.json b/specification/_json_spec/indices.resolve_index.json index 1f1c2ae8ee..0ac662fc50 100644 --- a/specification/_json_spec/indices.resolve_index.json +++ b/specification/_json_spec/indices.resolve_index.json @@ -43,7 +43,6 @@ "mode": { "type": "enum", "options": ["standard", "time_series", "logsdb", "lookup"], - "default": "", "description": "Filter indices by index mode. Comma-separated list of IndexMode. Empty means no filter." }, "project_routing": { diff --git a/specification/_json_spec/inference.chat_completion_unified.json b/specification/_json_spec/inference.chat_completion_unified.json index d3971b4bab..c699e2cb30 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 d561dcbb41..be3a1af711 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 c3091a90c5..700fc4dbb7 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 0c7b0c8180..8e6e2744b9 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_ai21.json b/specification/_json_spec/inference.put_ai21.json index eb3bdcc85b..7dc80f0556 100644 --- a/specification/_json_spec/inference.put_ai21.json +++ b/specification/_json_spec/inference.put_ai21.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_alibabacloud.json b/specification/_json_spec/inference.put_alibabacloud.json index 9bcd55823a..ca23f1688f 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 4bfe9c25d1..e5ee37a1a1 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 36b1e7155d..76e39314f5 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 0ea47bedf6..29fde5aa09 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 6ad290a351..db65647248 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 4165723a84..1b33ee4645 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_contextualai.json b/specification/_json_spec/inference.put_contextualai.json index fe58b762db..3b60637840 100644 --- a/specification/_json_spec/inference.put_contextualai.json +++ b/specification/_json_spec/inference.put_contextualai.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 675dff0cca..6864e95b54 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 5c9e37858c..a415ef0537 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 d4c912f2ba..d5998e4516 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 279ff013b5..1641a5b043 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 264e8d89a8..7f806ce6fa 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 b22c98b329..1b6aab3bf7 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 5b54c3d5ba..799f023a46 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_llama.json b/specification/_json_spec/inference.put_llama.json index 690df60098..03c8fb2336 100644 --- a/specification/_json_spec/inference.put_llama.json +++ b/specification/_json_spec/inference.put_llama.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 0596d6bc03..0372a6a606 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 3861f82710..2e21dee986 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 d556fa8d7d..3639bde22f 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 9e70688706..77a79adc4a 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 b5d09ca773..a2df8a8da1 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 c7e1d526df..44c9c25ac7 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 5771390829..ca286fd0ef 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 5f4c4d8e5f..162f38c17c 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 31983b3a80..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/guide/en/machine-learning/current/ml-jobs.html", + "url": null, "description": "Validate an anomaly detection job" }, "stability": "stable", diff --git a/specification/_json_spec/project.tags.json b/specification/_json_spec/project.tags.json index 5647ab285a..898154e50b 100644 --- a/specification/_json_spec/project.tags.json +++ b/specification/_json_spec/project.tags.json @@ -1,10 +1,10 @@ { "project.tags": { "documentation": { - "url": null, + "url": "https://www.elastic.co/docs/api/doc/elasticsearch-serverless/operation/operation-project-tags", "description": "Return tags defined for the project" }, - "stability": "experimental", + "stability": "stable", "visibility": "public", "headers": { "accept": ["application/json"]