Replace feature settings
- Base URL
-
https://{kibana_url}
- PUT /api/model_management/feature_settings
- PUT /s/{space_id}/api/model_management/feature_settings
Replaces the model assignments for every AI feature in the current space. Send the document returned by Get feature settings to round-trip parameters, including reasoning effort. Endpoint IDs are not checked for existence; a reasoning effort is checked only against endpoints that exist.
Required privileges
manage_searchInferenceEndpoints
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.
Request body
-
featuresobject[] · max items: 30required -
The model assignments for each AI feature, up to 30 features. Each feature can appear once. A feature left out of a full replacement loses its saved assignment and returns to normal model selection. To learn how Kibana chooses models, refer to Manage access to AI features.
-
endpointsobject[] · min items: 0 · max items: 30required -
The inference endpoints the feature uses, in order of preference. The first endpoint that can be resolved is used by default; IDs that do not resolve are skipped. Up to 30 endpoints. An empty list saves an explicit choice of no endpoints.
-
idstring · min length: 1 · max length: 256required -
The inference endpoint ID, for example
.anthropic-claude-4.6-sonnet-chat_completion. Up to 256 characters. -
parametersobject -
Optional parameters for this endpoint. Saved endpoints do not inherit parameters from the feature’s recommended endpoints.
-
reasoningobject -
Reasoning options for models that support reasoning.
-
effortenum -
How much reasoning the model does before it answers, from
none(no reasoning) toxhigh(the most). Higher levels can give better answers but are slower and use more tokens. Supported levels depend on the model. When the endpoint lists the levels it supports, any other level is rejected with a 400 error; otherwise the level is saved without a check, so a successful save does not confirm that the model supports it. When omitted, no effort is saved for the endpoint. -
Values:
noneminimallowmediumhighxhigh
Responses
The feature settings that were saved.
-
featuresobject[] · max items: 30required -
The model assignments for each AI feature, up to 30 features. Each feature can appear once. A feature left out of a full replacement loses its saved assignment and returns to normal model selection. To learn how Kibana chooses models, refer to Manage access to AI features.
-
endpointsobject[] · min items: 0 · max items: 30required -
The inference endpoints the feature uses, in order of preference. The first endpoint that can be resolved is used by default; IDs that do not resolve are skipped. Up to 30 endpoints. An empty list saves an explicit choice of no endpoints.
-
idstring · min length: 1 · max length: 256required -
The inference endpoint ID, for example
.anthropic-claude-4.6-sonnet-chat_completion. Up to 256 characters. -
parametersobject -
Optional parameters for this endpoint. Saved endpoints do not inherit parameters from the feature’s recommended endpoints.
-
reasoningobject -
Reasoning options for models that support reasoning.
-
effortenum -
How much reasoning the model does before it answers, from
none(no reasoning) toxhigh(the most). Higher levels can give better answers but are slower and use more tokens. Supported levels depend on the model. When the endpoint lists the levels it supports, any other level is rejected with a 400 error; otherwise the level is saved without a check, so a successful save does not confirm that the model supports it. When omitted, no effort is saved for the endpoint. -
Values:
noneminimallowmediumhighxhigh
The request has an unknown feature_id, the same feature or model listed twice, or a reasoning effort the model does not support.
The feature settings changed after this request read them. Get the feature settings again and retry.