{
 "collection_methods": {
  "collect_by_url": {
   "input_schema": [
    {
     "name": "url",
     "required": true,
     "type": "url"
    },
    {
     "name": "days_back",
     "required": false,
     "type": "number"
    },
    {
     "name": "load_all_replies",
     "required": false,
     "type": "boolean"
    },
    {
     "name": "comment_limit",
     "required": false,
     "type": "number"
    },
    {
     "name": "sort_by",
     "required": false,
     "type": "text"
    }
   ],
   "output_fields": [
    {
     "description": "URL of comment",
     "name": "url",
     "type": "url"
    },
    {
     "description": "ID of comment",
     "name": "comment_id",
     "type": "text"
    },
    {
     "description": "Username of the user who posted the comment",
     "name": "user_posted",
     "type": "text"
    },
    {
     "description": "Description of the comment",
     "name": "comment",
     "type": "text"
    },
    {
     "description": "Date posted",
     "name": "date_posted",
     "type": "date"
    },
    {
     "description": "URL of the post this comment appears at",
     "name": "post_url",
     "type": "url"
    },
    {
     "description": "ID of the post this comment appears at",
     "name": "post_id",
     "type": "text"
    },
    {
     "description": "The name of the community the comment was posted at",
     "name": "community_name",
     "type": "text"
    },
    {
     "description": "URL of the community  where the comment was posted at",
     "name": "community_url",
     "type": "text"
    },
    {
     "description": "Description of the community this comment was posted at",
     "name": "community_description",
     "type": "text"
    },
    {
     "description": "Number of community members where the comment was posted at",
     "name": "community_members_num",
     "type": "text"
    },
    {
     "name": "community_rank",
     "type": "object"
    },
    {
     "name": "replies",
     "type": "array"
    },
    {
     "description": "Number of comment's upvotes",
     "name": "num_upvotes",
     "type": "number"
    },
    {
     "description": "Number of replies to the comment",
     "name": "num_replies",
     "type": "number"
    },
    {
     "description": "Reproduce from Input",
     "name": "days_back",
     "type": "number"
    },
    {
     "description": "A post has a \"MOD\" icon - this means it was posted by a moderator or bot in some cases",
     "name": "is_moderator",
     "type": "boolean"
    },
    {
     "description": "pinned or stickied comment, placed on top of all",
     "name": "is_pinned",
     "type": "boolean"
    },
    {
     "description": "The username has a substring \"bot\" - This parameter can be an indirect sign of a bot In most cases, but can also occur in common usernames",
     "name": "has_bot_in_username",
     "type": "boolean"
    },
    {
     "description": "The post has a \"lock\" icon - this means that comments are blocked by moderators and no one but them can comment on them. This parameter can be an indirect sign of a bot",
     "name": "is_locked",
     "type": "boolean"
    },
    {
     "description": "hidden is labeled as \"distinguished admin\"",
     "name": "is_admin_post",
     "type": "boolean"
    },
    {
     "description": "Indicates whether the post is archived or not",
     "name": "is_archived_post",
     "type": "boolean"
    },
    {
     "description": "Specifies if the post is made by a moderator",
     "name": "is_moderator_post",
     "type": "boolean"
    },
    {
     "description": "Indicates if the post is quarantined",
     "name": "is_quarantined_post",
     "type": "boolean"
    },
    {
     "description": "Flags whether the post contains content not safe for work",
     "name": "is_not_safe_for_work_post",
     "type": "boolean"
    },
    {
     "description": "Specifies if the post is eligible for content blocking",
     "name": "is_eligible_for_content_blocking_post",
     "type": "boolean"
    },
    {
     "description": "Indicates if the post is promoted content",
     "name": "is_promoted_post",
     "type": "boolean"
    },
    {
     "description": "Language in which the post is written",
     "name": "post_language",
     "type": "text"
    },
    {
     "description": "Current state/status of the post",
     "name": "post_state",
     "type": "text"
    },
    {
     "description": "Type or category of the post",
     "name": "post_type",
     "type": "text"
    },
    {
     "description": "Images from the comment",
     "name": "images",
     "type": "array"
    },
    {
     "name": "parent_comment_id",
     "type": "text"
    },
    {
     "description": "Links all replies to the original root comment",
     "name": "root_comment_id",
     "type": "text"
    },
    {
     "description": "Video and GIF URLs",
     "name": "videos",
     "type": "array"
    }
   ]
  }
 },
 "domain": "reddit.com",
 "id": "gd_lvzdpsdlw09j6t702",
 "name": "Reddit - Comments"
}
