---
title: "PUT /api/v1/runtime-config"
method: PUT
path: "/api/v1/runtime-config"
tags: ["Runtime Config"]
---

# PUT /api/v1/runtime-config

`PUT /api/v1/runtime-config`

## Request body

- object
  - `gateway` object
    - `port` integer
    - `bind` 'loopback' | 'lan' | 'auto'
    - `authMode` 'none' | 'token'
  - `defaultModelId` string

## Response `200`

Updated runtime config

- object
  - `runtime` object, required
    - `gateway` object
      - `port` integer
      - `bind` 'loopback' | 'lan' | 'auto'
      - `authMode` 'none' | 'token'
    - `defaultModelId` string

## Changes

> 31 revisions in range; 1 could not be searched.

- **2026-03-27** `5a728763aca4` — 2 info
  - the `defaultModelId` request property default value changed from `anthropic/claude-sonnet-4` to `link/gemini-3-flash-preview`
  - the `defaultModelId` response's property default value changed from `anthropic/claude-sonnet-4` to `link/gemini-3-flash-preview` for the status `200`
- **2026-03-19** `239b3cc94d80` — 2 info
  - the `defaultModelId` request property default value changed from `link/gemini-3-flash-preview` to `anthropic/claude-sonnet-4`
  - the `defaultModelId` response's property default value changed from `link/gemini-3-flash-preview` to `anthropic/claude-sonnet-4` for the status `200`

[Change history](https://skmtc.dev/nexu-io/apis/nexu-controller-api/changes/api/v1/runtime-config/put.md)

---

[API](https://skmtc.dev/nexu-io/apis/nexu-controller-api.md) · [All operations](https://skmtc.dev/nexu-io/apis/nexu-controller-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nexu-io/nexu-controller-api/revisions/ee3237405da6/schema)
