---
title: "Update LLM config"
method: PUT
path: "/api/tenants/me/apps/{id}/llm"
tags: ["BYOK"]
---

# Update LLM config

`PUT /api/tenants/me/apps/{id}/llm`

## Request

- Base URL: `https://kortexio.io` (the document declares no server; this is the origin it was published from)
- URL: `https://kortexio.io/api/tenants/me/apps/{id}/llm`
- Auth: HTTP bearer

Save provider, model, and credentials (validated before persisting).

## Path parameters

- `id` string, uuid, required

## Request body

- UpdateTenantAppLlmRequest
  - `provider` string, nullable
  - `model` string, nullable
  - `baseUrl` string, nullable
  - `apiKey` string, nullable

## Response `200`

OK

---

[API](https://skmtc.dev/kortexio/apis/kortexio-api.md) · [All operations](https://skmtc.dev/kortexio/apis/kortexio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kortexio/apis/kortexio-api/revisions/38e1e5c3bb04?raw)
