---
title: "Update Admin Llm Config"
method: PUT
path: "/api/admin/config/llm"
tags: ["admin"]
---

# Update Admin Llm Config

`PUT /api/admin/config/llm`

Update the global default LLM. Persisted to the settings store.

## Request body

- AdminLLMConfigUpdate — All fields optional. Pass only what you want to change.
  - `llm_provider` string, nullable
  - `llm_model` string, nullable
  - `llm_api_base` string, nullable

## Response `200`

Successful Response

- AdminLLMConfigResponse — Global default LLM (used when a user has no per-user override).
  - `llm_provider` string, required
  - `llm_model` string, required
  - `llm_api_base` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mozilla-ai/apis/clawbolt.md) · [All operations](https://skmtc.net/mozilla-ai/apis/clawbolt/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mozilla-ai/clawbolt/revisions/0e52fe5f8d33/schema)
