Replace a knowledge base
replace_knowledge_baseReplace a knowledge base
Replaces the name and content; tags change only when sent. A knowledge base can be
shared by several agents and the change reaches all of them, so it is refused
(403 shared_with_other_agents) unless the key can act on every agent using it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tags | No | ||
| content | Yes | Stored and given to the AI exactly as sent; send plain text. The dashboard shows content as rich text, so text shaped like an HTML tag, such as a placeholder in angle brackets, does not appear there and is lost if someone edits the entry in the dashboard. | |
| agent_id | Yes | The agent the resource belongs to. Another company's agent, or the nil UUID, is `404 agent_not_found`; an agent outside the key's agent list is `403 agent_not_authorized`. | |
| knowledge_base_id | Yes | A knowledge base linked to the agent. One that is not is `404 not_found`. |