---
type: api
title: "Update one feature setting"
description: "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 authorization] Route required privileges: manage_searchInferenceEndpoints."
url: https://www.elastic.co/elastic/docs-builder/docs/5113/api/kibana-serverless/operation/operation-put-model-management-feature-settings-feature-id
resource: https://www.elastic.co/elastic/docs-builder/docs/5113/api/kibana-serverless/operation/operation-put-model-management-feature-settings-feature-id
products:
  - Kibana
---

# Update one feature setting

Authentication: required

Availability: Preview

- Server: `https://{kibana_url}`

## Paths

- `PUT` `/api/model_management/feature_settings/{feature_id}`
- `PUT` `/s/{space_id}/api/model_management/feature_settings/{feature_id}`

#### 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](https://www.elastic.co/docs/deploy-manage/manage-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.

## Description

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

- Privileges: `manage_searchInferenceEndpoints`

## Header parameters

- `kbn-xsrf` (string) — required
  A required header to protect against CSRF attacks

## Request body

`application/json`

- `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.
  - `parameters` (object) — optional
    Optional parameters for this endpoint. Saved endpoints do not inherit parameters from the feature’s recommended endpoints.
    - `reasoning` (object) — optional
      Reasoning options for models that support reasoning.
      - `effort` (enum) — optional
        How much reasoning the model does before it answers, from `none` (no reasoning) to `xhigh` (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: `none`, `minimal`, `low`, `medium`, `high`, `xhigh`

## Responses

#### `200`

The feature settings for the current space after the update.

`application/json`

- `features` (object[] · max items: 30)
  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](https://www.elastic.co/docs/explore-analyze/ai-features/manage-access-to-ai-assistant).
  - `endpoints` (object[] · min items: 0 · max items: 30)
    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)
      The inference endpoint ID, for example `.anthropic-claude-4.6-sonnet-chat_completion`. Up to 256 characters.
    - `parameters` (object)
      Optional parameters for this endpoint. Saved endpoints do not inherit parameters from the feature’s recommended endpoints.
      - `reasoning` (object)
        Reasoning options for models that support reasoning.
        - `effort` (enum)
          How much reasoning the model does before it answers, from `none` (no reasoning) to `xhigh` (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: `none`, `minimal`, `low`, `medium`, `high`, `xhigh`
  - `feature_id` (string · min length: 1 · max length: 256)
    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`

## Code examples

#### Console

```console
PUT kbn://api/model_management/feature_settings/{feature_id}
{
  "endpoints": [
    {
      "id": ".anthropic-claude-4.6-sonnet-chat_completion",
      "parameters": { "reasoning": { "effort": "high" } }
    }
  ]
}
```

#### curl

```curl
curl \
  -X PUT "${KIBANA_URL}/api/model_management/feature_settings/{feature_id}" \
  -H "Authorization: ApiKey ${API_KEY}" \
  -H "kbn-xsrf: true" \
  -H "Content-Type: application/json" \
  -d '{
    "endpoints": [
      {
        "id": ".anthropic-claude-4.6-sonnet-chat_completion",
        "parameters": { "reasoning": { "effort": "high" } }
      }
    ]
  }'
```

## Response examples

#### All feature settings after the update

`application/json`

```json
{
  "features": [
    {
      "endpoints": [
        {
          "id": ".anthropic-claude-4.6-sonnet-chat_completion",
          "parameters": {
            "reasoning": {
              "effort": "high"
            }
          }
        }
      ],
      "feature_id": "agent_builder"
    },
    {
      "endpoints": [
        {
          "id": ".eis-claude-3.7-sonnet"
        }
      ],
      "feature_id": "attack_discovery"
    }
  ]
}
```

#### Unknown feature id

`application/json`

```json
{
  "attributes": {
    "errors": [
      "Unknown feature_id values: not_a_feature"
    ]
  },
  "error": "Bad Request",
  "message": "Invalid inference settings",
  "statusCode": 400
}
```

#### Settings changed by another request

`application/json`

```json
{
  "error": "Conflict",
  "message": "Saved object [inference-settings/default] conflict",
  "statusCode": 409
}
```

