> ## Documentation Index
> Fetch the complete documentation index at: https://studio.chat-atp.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a knowledge base

> Patch knowledge base fields

<ParamField path="knowledge_base_id" type="string" required>
  Knowledge base ID.
</ParamField>

<ParamField body="name" type="string">
  New display name.
</ParamField>

<ParamField body="description" type="string">
  New description.
</ParamField>

## SDK

<CodeGroup>
  ```typescript TypeScript theme={null}
  await client.knowledgeBases.update(id, { name: "Updated" });
  ```

  ```python Python theme={null}
  await client.knowledge_bases.update(knowledge_base_id, name="Updated")
  ```
</CodeGroup>
