Update one feature setting

Base URL
https://{kibana_url}
Auth

Replaces the models assigned to one AI feature in the current space and leaves the other features unchanged. Endpoint IDs are not checked for existence; a reasoning effort is checked only against endpoints that exist. The response is the full feature settings document.

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.

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

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

Header parameters

kbn-xsrf string required

A required header to protect against CSRF attacks

Request body

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.

Responses

The feature settings for the current space after the update.

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 feature_id is unknown, a model is listed twice, or a reasoning effort is not supported by the model.

application/json
409

The feature settings changed after this request read them. Retry the request.

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