---
title: "Update a model router config"
method: PUT
path: "/v1/model-router/configs/{config_id}"
tags: ["model-router"]
---

# Update a model router config

`PUT /v1/model-router/configs/{config_id}`

## Path parameters

- `config_id` string, uuid, required

## Request body

- RouterConfigUpdate
  - `name` string, nullable
  - `model_chain` ModelChainEntry[], nullable
    - `model` string, required
    - `config` ModelConfig
      - `temperature` number, nullable
      - `max_tokens` integer, nullable
      - `top_p` number, nullable
      - `stop_sequences` string[], nullable
      - `reasoning_effort` 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | 'max', nullable
      - `request_timeout_ms` integer, nullable
      - `thinking_budget` integer, nullable
  - `description` string, nullable
  - `is_default` boolean, nullable
  - `smart_routing_enabled` boolean, nullable
  - `metadata` object, nullable

## Response `200`

Successful Response

- RouterConfigResponse
  - `id` string, uuid, required
  - `organization_id` string, uuid, required
  - `name` string, required
  - `description` string, nullable, required
  - `is_default` boolean, required
  - `smart_routing_enabled` boolean, required
  - `model_chain` ModelChainEntry[], required
    - `model` string, required
    - `config` ModelConfig
      - `temperature` number, nullable
      - `max_tokens` integer, nullable
      - `top_p` number, nullable
      - `stop_sequences` string[], nullable
      - `reasoning_effort` 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | 'max', nullable
      - `request_timeout_ms` integer, nullable
      - `thinking_budget` integer, nullable
  - `metadata` object
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `404` — Resource not found
- `422` — Validation Error

## Changes

- **2026-08-12** `5a5597ebb2d6` — 2 breaking, 10 warning, 10 info
  - the `model_chain/anyOf[subschema #1]/` request property's minItems was increased to `1`
  - the `name/anyOf[subschema #1]/` request property's minLength was increased from `0` to `1`
  - the `name/anyOf[subschema #1]/` request property's maxLength was set to `255`
  - the `model_chain/anyOf[subschema #1]/items/config/request_timeout_ms/anyOf[subschema #1]/` request property's max was set to `20000.00`
  - …18 more

[Change history](https://skmtc.dev/oneloop-hq/apis/feather-api/changes/v1/model-router/configs/:config_id/put.md)

---

[API](https://skmtc.dev/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.dev/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/revisions/9cd7291d4228/schema)
