diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_amazonsagemaker.json b/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_amazonsagemaker.json new file mode 100644 index 0000000000000..e2cdb3ad25cf8 --- /dev/null +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_amazonsagemaker.json @@ -0,0 +1,35 @@ +{ + "inference.put_amazonsagemaker": { + "documentation": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-amazon-sagemaker.html", + "description": "Configure a Amazon SageMaker inference endpoint" + }, + "stability": "stable", + "visibility": "public", + "headers": { + "accept": ["application/json"], + "content_type": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_inference/{task_type}/{amazonsagemaker_inference_id}", + "methods": ["PUT"], + "parts": { + "task_type": { + "type": "string", + "description": "The task type" + }, + "amazonsagemaker_inference_id": { + "type": "string", + "description": "The inference Id" + } + } + } + ] + }, + "body": { + "description": "The inference endpoint's task and service settings" + } + } +} diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_deepseek.json b/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_deepseek.json new file mode 100644 index 0000000000000..e30b6bb8a7e0b --- /dev/null +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_deepseek.json @@ -0,0 +1,35 @@ +{ + "inference.put_deepseek": { + "documentation": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-deepseek.html", + "description": "Configure a DeepSeek inference endpoint" + }, + "stability": "stable", + "visibility": "public", + "headers": { + "accept": ["application/json"], + "content_type": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_inference/{task_type}/{deepseek_inference_id}", + "methods": ["PUT"], + "parts": { + "task_type": { + "type": "string", + "description": "The task type" + }, + "deepseek_inference_id": { + "type": "string", + "description": "The inference Id" + } + } + } + ] + }, + "body": { + "description": "The inference endpoint's task and service settings" + } + } +}