Add a knowledge article
add_knowledge_articleWrite knowledge Aide answers customers from (a policy, shipping times, an FAQ…) in the workspace's articles. An article (the default) is customer-facing: published at once to Aide Chat's public help section unless saved as a draft. A snippet is internal: never shown to customers, used by Aide as soon as it is saved, with no draft. Use a snippet for notes only Aide should read, an article for help customers should be able to read. Use it for what the website doesn't say, or what the user tells you directly. Returns the document with its id; once published it is used in answers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | `article` (the default) for the help center, or `snippet` for an internal note customers never see. | |
| slug | No | Its address in the help center, lowercase words joined by `-`; from the title when omitted. Articles only. | |
| draft | No | True to save an article as a draft Aide does not answer from yet. Not for snippets. | |
| title | Yes | The article title, such as `Shipping times`. | |
| bodyHtml | No | The article, as simple HTML (`<p>`, `<ul>`, `<a>`…). | |
| sourceId | No | An articles source (list_knowledge_sources); the workspace's articles when omitted. | |
| collectionId | No | The help center collection to file it in (list_knowledge_collections). |