diff --git a/output/schema/schema.json b/output/schema/schema.json index 11510d3f03..065c5ff942 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -5068,6 +5068,58 @@ } ] }, + { + "availability": { + "stack": { + "stability": "experimental", + "visibility": "public" + } + }, + "description": "Executes a get ESQL query request", + "docUrl": null, + "name": "esql.get_query", + "request": null, + "requestBodyRequired": false, + "requestMediaType": [ + "application/json" + ], + "response": null, + "responseMediaType": [], + "urls": [ + { + "methods": [ + "GET" + ], + "path": "/_query/queries/{id}" + } + ] + }, + { + "availability": { + "stack": { + "stability": "experimental", + "visibility": "public" + } + }, + "description": "Executes a list ESQL queries request", + "docUrl": null, + "name": "esql.list_queries", + "request": null, + "requestBodyRequired": false, + "requestMediaType": [ + "application/json" + ], + "response": null, + "responseMediaType": [], + "urls": [ + { + "methods": [ + "GET" + ], + "path": "/_query/queries" + } + ] + }, { "availability": { "serverless": {}, diff --git a/specification/_json_spec/esql.get_query.json b/specification/_json_spec/esql.get_query.json new file mode 100644 index 0000000000..f0a2085495 --- /dev/null +++ b/specification/_json_spec/esql.get_query.json @@ -0,0 +1,28 @@ +{ + "esql.get_query": { + "documentation": { + "url": null, + "description": "Executes a get ESQL query request" + }, + "stability": "experimental", + "visibility": "public", + "headers": { + "accept": [], + "content_type": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_query/queries/{id}", + "methods": ["GET"], + "parts": { + "id": { + "type": "string", + "description": "The query ID" + } + } + } + ] + } + } +} diff --git a/specification/_json_spec/esql.list_queries.json b/specification/_json_spec/esql.list_queries.json new file mode 100644 index 0000000000..ea8d8447e1 --- /dev/null +++ b/specification/_json_spec/esql.list_queries.json @@ -0,0 +1,22 @@ +{ + "esql.list_queries": { + "documentation": { + "url": null, + "description": "Executes a list ESQL queries request" + }, + "stability": "experimental", + "visibility": "public", + "headers": { + "accept": [], + "content_type": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_query/queries", + "methods": ["GET"] + } + ] + } + } +} diff --git a/specification/_json_spec/inference.put.mistral.json b/specification/_json_spec/inference.put.mistral.json deleted file mode 100644 index 97633b233c..0000000000 --- a/specification/_json_spec/inference.put.mistral.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "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 deleted file mode 100644 index 8a587c75ab..0000000000 --- a/specification/_json_spec/inference.put.voyageai.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "inference.put_voyageai": { - "documentation": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-apis.html", - "description": "Configure an VoyageAI inference endpoint" - }, - "stability": "stable", - "visibility": "public", - "headers": { - "accept": ["application/json"], - "content_type": ["application/json"] - }, - "url": { - "paths": [ - { - "path": "/_inference/{task_type}/{voyageai_inference_id}", - "methods": ["PUT"], - "parts": { - "task_type": { - "type": "string", - "description": "The task type" - }, - "voyageai_inference_id": { - "type": "string", - "description": "The inference ID" - } - } - } - ] - }, - "body": { - "description": "The inference endpoint's task and service settings" - } - } -}