List the comments of an article
knowledge_base.comments.list
Lists the comments of a Knowledge Base article, oldest first, paginated by cursor: content (sanitized HTML, or plain text in old comments), content_text (plain text), mentioned user ids, author and dates (edited_at when the author edited it). Not found (kb_item_not_found) if the article does not exist or the caller cannot see it. Requires view access to the Knowledge Base.
- Escopo
knowledge_base:read- Permissão
- Ver o módulo
- Tool do MCP
knowledge_base_comments_listNa superfície completa; na compacta,mb_execute_operationcomid: "knowledge_base.comments.list".
Custo declarado: até 204 leituras e 0 escritas por chamada (contam na cota diária).
Parâmetros
item_idstringrotaThe article's id (from knowledge_base.items.list).
limitintegerqueryopcionalComments per page (1 to 200; default 50).
Padrão: 50
cursorstringqueryopcionalThe next_cursor of the previous page, exactly as it came.
Resposta
dataarray<object>has_morebooleannext_cursorstringErros
Exemplo
curl "https://api.mb-suite.com/v1/knowledge-base/items/{item_id}/comments" \
-H "Authorization: Bearer $MB_API_KEY"Testar com a sua API key de teste
Com uma API key de teste o pedido vai sempre para a sua organização de prática: dados de exemplo que você pode reiniciar.
curl "https://api.mb-suite.com/v1/knowledge-base/items/{item_id}/comments" \
-H "Authorization: Bearer $MB_TEST_KEY"