---
title: "Update a knowledge document"
method: PATCH
path: "/v1/knowledge/{id}"
tags: ["Knowledge"]
---

# Update a knowledge document

`PATCH /v1/knowledge/{id}`

## Request

- Base URL: `https://api.agentboxd.com`
- URL: `https://api.agentboxd.com/v1/knowledge/{id}`
- Auth: HTTP bearer

`{ title?, body?, inbox_id? }`.

Permission: `knowledge:write`.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `title` string
  - `body` string
  - `inbox_id` string, uuid, nullable

## Response `200`

OK

- object

## Other responses

- `4XX`: Error
- `5XX`: Error

---

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