Create an inference endpoint Added in 8.11.0
Path parameters
-
The inference Id
Body Required
-
The service type
-
Additional properties are allowed.
-
task_settings object
Additional properties are allowed.
PUT /_inference/{inference_id}
curl \
-X PUT http://api.example.com/_inference/{inference_id} \
-H "Content-Type: application/json" \
-d '{"service":"string","service_settings":{},"task_settings":{}}'
Request examples
{
"service": "string",
"service_settings": {},
"task_settings": {}
}
Response examples (200)
{
"service": "string",
"service_settings": {},
"task_settings": {},
"inference_id": "string",
"task_type": "sparse_embedding"
}