# POST /knowledge

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

Create a knowledge base entry. An embedding is automatically generated for semantic search. Valid categories: general (default), agent, faq, policy, procedure, product.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `title` | body | string | yes | Entry title |
| `content` | body | string | yes | Entry content - the full knowledge text |
| `category` | body | string | no | Category: general (default), agent, faq, policy, procedure, product |
| `tags` | body | string[] | no | Array of tag strings for filtering |
| `source_type` | body | string | no | Source type (e.g. manual, transcript, document) |
| `source_id` | body | uuid | no | UUID of the source record |

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