get_comments
Retrieve comments and replies for posts or changelogs with filtering by privacy, review status, and sorting options.
Instructions
Get comments for a post or changelog. Available fields: upvoted, downvoted, inReview, isSpam, pinned, emailSent, sendNotification, organization, submission, author, authorId, authorPicture, isPrivate, isDeleted, confidenceScore, content, upvotes, downvotes, score, parentComment, path, createdAt, updatedAt, id, replies(upvoted, downvoted, inReview, isSpam, pinned, emailSent, sendNotification, organization, submission, author, authorId, authorPicture, isPrivate, isDeleted, confidenceScore, content, upvotes, downvotes, score, parentComment, path, createdAt, updatedAt, id)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| submissionId | No | Post ID or slug (required if no changelogId) | |
| changelogId | No | Changelog ID or slug (required if no submissionId) | |
| privacy | No | Filter by privacy setting | |
| inReview | No | Filter for comments in review | |
| commentThreadId | No | Get all comments in a thread | |
| limit | No | Results per page (default: 10) | |
| page | No | Page number (default: 1) | |
| sortBy | No | Sort order (default: best) | |
| select | No | Fields to return. Examples: "id,content,author(name)" | "content,upvotes,createdAt" | "author(name,email),replies(content)". Leave empty for all fields. |