List the comments of a task
task_management.comments.list
Lists the comments of a task, oldest first, paginated by cursor: content (sanitized HTML, or plain text in old comments), content_text (plain text), mentions, author and dates (edited_at when the author edited it). Not found if the task does not exist or the caller cannot see it.
- Scope
task_management:read- Permission
- View the module
- MCP tool
task_management_comments_listOn the full surface; on the compact one,mb_execute_operationwithid: "task_management.comments.list".
Declared cost: up to 204 reads and 0 writes per call (they count against the daily quota).
Parameters
task_idstringpathThe task's id (from task_management.tasks.list, or the task_id that tasks.create returns).
limitintegerqueryoptionalRows per page (1 to 200; default 50).
Default: 50
cursorstringqueryoptionalThe next_cursor of the previous page, to continue the list; omit it for the first page.
Response
dataarray<object>has_morebooleannext_cursorstringErrors
Example
curl "https://api.mb-suite.com/v1/tasks/{task_id}/comments" \
-H "Authorization: Bearer $MB_API_KEY"Try it with your test API key
With a test API key the request always goes to your practice organization: example data you can reset.
curl "https://api.mb-suite.com/v1/tasks/{task_id}/comments" \
-H "Authorization: Bearer $MB_TEST_KEY"