Update a knowledge article
update_knowledge_articleChange a knowledge document's title, body, slug or collection, star it, turn an article into a snippet or back, or keep it out of Aide's answers; once published, Aide answers from the new text at once and, for an article, Aide Chat's public help section shows it. The body replaces the previous one, so start from get_knowledge_document's and change only what is wrong or missing. Returns the document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | `snippet` to make an article internal (never shown to customers), `article` to make a snippet a draft article. | |
| slug | No | Its new help center address, lowercase words joined by `-`. | |
| title | No | The new title. | |
| bodyHtml | No | The whole new body, as simple HTML (`<p>`, `<ul>`, `<a>`…). | |
| isStarred | No | True to star it, false to unstar it. | |
| documentId | Yes | The knowledge document id, from list_knowledge_documents or search_knowledge. | |
| usedByAide | No | False to keep it out of Aide’s answers (a published article still shows in the help section); true to use it again. | |
| collectionId | No | The collection to file it in, or null for none. |