---
title: "Update Knowledge Base"
method: PATCH
path: "/api/v1/knowledge-bases/{kb_id}"
tags: ["Knowledge Bases", "Knowledge Bases"]
---

# Update Knowledge Base

`PATCH /api/v1/knowledge-bases/{kb_id}`

Update a knowledge base.

## Path parameters

- `kb_id` string, uuid, required

## Request body

- KnowledgeBaseUpdate
  - `name` string, nullable
  - `description` string, nullable

## Response `200`

Successful Response

- KnowledgeBaseRead
  - `id` string, uuid, required
  - `tenant_id` string, uuid, required
  - `name` string, required
  - `description` string, nullable, required
  - `embedding_model` string, required
  - `embedding_dimensions` integer, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-03** `d65b8fefae34` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/getanana/apis/cleon-api/changes/api/v1/knowledge-bases/:kb_id/patch.md)

---

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