---
title: "Put Ai Settings"
method: PUT
path: "/api/ai-settings"
tags: ["auth"]
---

# Put Ai Settings

`PUT /api/ai-settings`

## Request

- Base URL: `https://board.noddle.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://board.noddle.dev/api/ai-settings`
- Auth: none declared

## Request body

- AISettingsBody: PUT /api/ai-settings. Omitted fields are left unchanged; a non-empty ``api_key`` sets the BYOK key (stored obfuscated), empty/None keeps it. ``model`` is the BYOK model override: ``""`` clears back to the provider default, ``None`` keeps the current value.
  - `mode` string, nullable
  - `provider` string, nullable
  - `api_key` string, nullable
  - `model` string, nullable
  - `api_base` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/noddle/apis/noddle-board.md) · [All operations](https://skmtc.dev/noddle/apis/noddle-board/llms.txt) · [OpenAPI document](https://skmtc.dev/noddle/apis/noddle-board/revisions/7f324e389516?raw)
