# PATCH /knowledge/:id

**Resource:** [AI Knowledge](./knowledge.md)  
**Scopes:** `knowledge:write`  
**Write operation:** yes

Update a knowledge base entry. If title or content changes, the embedding is automatically regenerated. The id must be a complete UUID - truncated values return VALIDATION_ERROR.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `id` | path | uuid | yes | Knowledge entry full UUID - do not abbreviate or truncate |
| `title` | body | string | no | Updated title |
| `content` | body | string | no | Updated content |
| `category` | body | string | no | Category: general, agent, faq, policy, procedure, product |
| `tags` | body | string[] | no | Updated tags array (replaces existing) |
| `source_type` | body | string | no | Source type |
| `source_id` | body | uuid | no | Source record UUID |

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`