---
title: "Update a knowledge base (name + description)"
method: POST
path: "/knowledgebase/{id}"
tags: ["Knowledge Base"]
---

# Update a knowledge base (name + description)

`POST /knowledgebase/{id}`

Updates the metadata of a knowledge base. **Note**: the platform uses `POST` (not `PATCH`) on this path — preserved here as-is.

Only `name` and `description` are mutable through this endpoint. To add or remove content (files, URLs, text snippets), use the items endpoints.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string, required — Display name. 1–40 characters; trimmed server-side.
  - `description` string — Optional free-text description shown in the dashboard.

## Response `200`

Knowledge base updated.

- object
  - `status` boolean

## Other responses

- `400` — Invalid input
- `401` — Unauthorized access
- `404` — Knowledge base not found in your organization.
- `500` — Internal server error

---

[API](https://skmtc.net/smallest-inc/apis/agent-management-api.md) · [All operations](https://skmtc.net/smallest-inc/apis/agent-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smallest-inc/agent-management-api/versions/6d1036a76fbc/schema)
