Replace feature settings

Base URL
https://{kibana_url}
  • PUT /api/model_management/feature_settings
  • PUT /s/{space_id}/api/model_management/feature_settings
Auth

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_id string optional

An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.

Header parameters

kbn-xsrf string required

A required header to protect against CSRF attacks

Request body

features object[] · max items: 30 required

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.

endpoints object[] · min items: 0 · max items: 30 required

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.

id string · min length: 1 · max length: 256 required

The inference endpoint ID, for example .anthropic-claude-4.6-sonnet-chat_completion. Up to 256 characters.

feature_id string · min length: 1 · max length: 256 required

The AI feature ID, for example agent_builder. Must be a registered feature or one already in the saved settings. Up to 256 characters.

Responses

The feature settings that were saved.

application/json
features object[] · max items: 30 required

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.

endpoints object[] · min items: 0 · max items: 30 required

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.

id string · min length: 1 · max length: 256 required

The inference endpoint ID, for example .anthropic-claude-4.6-sonnet-chat_completion. Up to 256 characters.

feature_id string · min length: 1 · max length: 256 required

The AI feature ID, for example agent_builder. Must be a registered feature or one already in the saved settings. Up to 256 characters.

400

The request has an unknown feature_id, the same feature or model listed twice, or a reasoning effort the model does not support.

application/json
409

The feature settings changed after this request read them. Get the feature settings again and retry.

application/json
Base URL
https://{kibana_url}