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

# Update knowledgebase

> Update an existing knowledgebase

This endpoint updates the name and/or description of an existing knowledgebase.

### Path Parameters

**id** `integer` *required*

The unique identifier of the knowledgebase to update

### Request Body

**name** `string`

The new name for the knowledgebase (max 255 characters)

**description** `string`

The new description for the knowledgebase (max 255 characters)

### Response

**message** `string`

Success message

**data** `object`

The updated knowledgebase object

**data properties**

**id** `integer`

The unique identifier of the knowledgebase

**name** `string`

The name of the knowledgebase

**description** `string`

Description of the knowledgebase

**status** `string`

Current status

**status\_label** `string`

Human-readable status label

**updated\_at** `string`

ISO 8601 timestamp of last update

```json 200 Response theme={null}
{
  "message": "Knowledgebase updated successfully.",
  "data": {
    "id": 1,
    "name": "Updated Product Documentation",
    "description": "Updated description for our technical docs",
    "status": "active",
    "status_label": "Active",
    "updated_at": "2025-01-08T15:45:00.000000Z"
  }
}
```

```json 404 Not Found theme={null}
{
  "error": "Knowledgebase not found."
}
```

```json 422 Validation Error theme={null}
{
  "message": "The name may not be greater than 255 characters.",
  "errors": {
    "name": [
      "The name may not be greater than 255 characters."
    ]
  }
}
```

> [!NOTE]
>
> Updating a knowledgebase's name or description does not affect its documents or processing status.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.