[DOCS][Inference API] _update lists service and service_settings as required
This seems like docs / spec fix only. The product errors are expected as per output.
https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-update lists service (string, Required) and service_settings (object, Required) on the _update body. The example and all language snippets also send "service": "example-service".
The same page intro says _update can change task_settings, secrets (within service_settings), or num_allocations. That matches the product.
_update only accepts mutable task_settings and secrets. service cannot be updated. Create-time service_settings such as model_id / url are not updatable. This is not a Kibana issue.
Lab on ES 9.5.2, service: openai:
_update with service: Request contained fields which cannot be updated, remove these fields and try again [{service=openai}]
_update with openai service_settings.model_id / url: Configuration contains settings [{url=..., model_id=gpt-5.4-nano}] unknown to the [openai] service_update of task_settings.user works. A secret in service_settings (api_key) is the kind of service_settings _update is meant to take.
Fix needed
- Stop marking
serviceandservice_settingsas required on_update - Drop
servicefrom the example and client snippets
Source: elastic/elasticsearch