---
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

---

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