# AI Training Dataset Builder

**Use case:** 

Build clean Threads post datasets for AI training or RAG. Bulk keyword collection, high volume per term, structured JSON output ready to use.

## Input

```json
{
  "mode": "brand_monitor",
  "watchlists": [
    {
      "name": "Dataset — Product Conversations",
      "type": "topic",
      "keywords": [
        "product review",
        "unboxing",
        "first impressions"
      ],
      "handles": [],
      "hashtags": []
    }
  ],
  "searchCoverage": "balanced",
  "maxPostsPerKeyword": 200,
  "maxPostsPerHandle": 25,
  "includeReplies": false,
  "includeProfileReplies": false,
  "includeProfileStats": false,
  "deltaMode": false,
  "onlyNewPosts": false,
  "includeReplyThreads": false,
  "replyDepth": 1,
  "includeAuthorDetails": false,
  "includeAuthorContacts": false,
  "followAuthorLinks": false,
  "includeReports": false,
  "riskKeywords": [
    "outage",
    "refund",
    "bug",
    "broken",
    "support",
    "scam",
    "cancel"
  ],
  "minEngagement": 0,
  "alertThresholds": {
    "mentionSpikeMultiplier": 3,
    "minEngagementForAlert": 100,
    "competitorBreakoutMultiplier": 2,
    "riskPostAlertLevel": "low"
  },
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "record_type": {
    "label": "Record type",
    "format": "string"
  },
  "group_name": {
    "label": "Group name",
    "format": "string"
  },
  "match_type": {
    "label": "Match type",
    "format": "string"
  },
  "author_handle": {
    "label": "Author handle",
    "format": "string"
  },
  "text": {
    "label": "Post text",
    "format": "string"
  },
  "published_at": {
    "label": "Published at",
    "format": "string"
  },
  "like_count": {
    "label": "Like count",
    "format": "number"
  },
  "reply_count": {
    "label": "Reply count",
    "format": "number"
  },
  "risk_flags": {
    "label": "Risk flags",
    "format": "array"
  },
  "sentiment_direction": {
    "label": "Sentiment direction",
    "format": "string"
  },
  "is_new_since_last_run": {
    "label": "New since last run",
    "format": "boolean"
  },
  "post_url": {
    "label": "Post URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Threads Brand Monitor](https://apify.com/digitalnomadph/threads-brand-monitor) with a specific input configuration. Visit the [Actor detail page](https://apify.com/digitalnomadph/threads-brand-monitor) to learn more, explore other use cases, and run it yourself.