diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index eafc52e6a5..6c45fd480d 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -107026,6 +107026,7 @@ "indices.put_template#cause": { "in": "query", "name": "cause", + "description": "User defined reason for creating/updating the index template", "deprecated": false, "schema": { "type": "string" diff --git a/output/schema/schema.json b/output/schema/schema.json index 77b52bb47f..8671596959 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -9303,6 +9303,34 @@ } ] }, + { + "availability": { + "stack": { + "stability": "stable", + "visibility": "public" + } + }, + "description": "Configure a Mistral inference endpoint", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-mistral.html", + "name": "inference.put_mistral", + "request": null, + "requestBodyRequired": false, + "requestMediaType": [ + "application/json" + ], + "response": null, + "responseMediaType": [ + "application/json" + ], + "urls": [ + { + "methods": [ + "PUT" + ], + "path": "/_inference/{task_type}/{mistral_inference_id}" + } + ] + }, { "availability": { "serverless": { @@ -142500,6 +142528,7 @@ } }, { + "description": "User defined reason for creating/updating the index template", "name": "cause", "required": false, "type": { diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 4d4bcbce56..f9da64e7e3 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -104,9 +104,9 @@ ], "response": [] }, - "indices.put_template": { + "inference.put_mistral": { "request": [ - "Request: query parameter 'cause' does not exist in the json spec" + "Missing request & response" ], "response": [] }, diff --git a/specification/_json_spec/indices.put_template.json b/specification/_json_spec/indices.put_template.json index cdafd1963c..afc06749f8 100644 --- a/specification/_json_spec/indices.put_template.json +++ b/specification/_json_spec/indices.put_template.json @@ -34,6 +34,11 @@ "description": "Whether the index template should only be added if new or can also replace an existing one", "default": false }, + "cause": { + "type": "string", + "description": "User defined reason for creating/updating the index template", + "default": "" + }, "master_timeout": { "type": "time", "description": "Specify timeout for connection to master" diff --git a/specification/_json_spec/inference.put.eis.json b/specification/_json_spec/inference.put_eis.json similarity index 77% rename from specification/_json_spec/inference.put.eis.json rename to specification/_json_spec/inference.put_eis.json index 281758769e..fd13516d54 100644 --- a/specification/_json_spec/inference.put.eis.json +++ b/specification/_json_spec/inference.put_eis.json @@ -1,8 +1,8 @@ { "inference.put_eis": { "documentation": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-eis.html", - "description": "Configure an EIS inference endpoint" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-elastic.html", + "description": "Configure an inference endpoint that uses the Elastic Inference Service (EIS)" }, "stability": "stable", "visibility": "public", @@ -29,7 +29,7 @@ ] }, "body": { - "description": "The inference endpoint's service settings" + "description": "The inference endpoint's task and service settings" } } } diff --git a/specification/_json_spec/inference.put_mistral.json b/specification/_json_spec/inference.put_mistral.json new file mode 100644 index 0000000000..97633b233c --- /dev/null +++ b/specification/_json_spec/inference.put_mistral.json @@ -0,0 +1,35 @@ +{ + "inference.put_mistral": { + "documentation": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-mistral.html", + "description": "Configure a Mistral inference endpoint" + }, + "stability": "stable", + "visibility": "public", + "headers": { + "accept": ["application/json"], + "content_type": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_inference/{task_type}/{mistral_inference_id}", + "methods": ["PUT"], + "parts": { + "task_type": { + "type": "string", + "description": "The task type" + }, + "mistral_inference_id": { + "type": "string", + "description": "The inference Id" + } + } + } + ] + }, + "body": { + "description": "The inference endpoint's task and service settings" + } + } +} diff --git a/specification/_json_spec/inference.put.voyageai.json b/specification/_json_spec/inference.put_voyageai.json similarity index 89% rename from specification/_json_spec/inference.put.voyageai.json rename to specification/_json_spec/inference.put_voyageai.json index 8a587c75ab..3ebb51b432 100644 --- a/specification/_json_spec/inference.put.voyageai.json +++ b/specification/_json_spec/inference.put_voyageai.json @@ -1,8 +1,8 @@ { "inference.put_voyageai": { "documentation": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-apis.html", - "description": "Configure an VoyageAI inference endpoint" + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/inference-apis.html", + "description": "Configure a VoyageAI inference endpoint" }, "stability": "stable", "visibility": "public",