#160433·elasticsearch

[DOCS][Inference API] _update lists service and service_settings as required

Author: rahulranjan22Created Sep 28, 2026Updated Sep 28, 2026
Labels:SearchOrg/InferenceTeam:Search - Inference

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 service and service_settings as required on _update
  • Drop service from the example and client snippets