Count Mentions
count_mentionsCount filtered mentions to size triage batches, feed dashboards, or decide whether paging through results is worthwhile. Returns only the total.
Instructions
Count mentions matching the same filters as list_mentions, returning { total } and no rows. The same defaults apply: REJECTED excluded unless statuses includes it, and scores below the website's minimum (30 by default) hidden unless includeLowRelevance is true. Use it for dashboards, to size a triage batch, or to decide whether paging list_mentions is worthwhile; list_mentions already returns total with its rows, so skip this when you fetch rows anyway. Takes no sort, limit, or offset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Only mentions ingested at/before this ISO 8601 datetime | |
| from | No | Only mentions ingested at/after this ISO 8601 datetime | |
| sources | No | Filter by source: REDDIT_POST, REDDIT_COMMENT, TWITTER (X), BLUESKY, HACKERNEWS | |
| keywords | No | Count only mentions matched by these keyword values (case-insensitive exact match) | |
| statuses | No | Filter by status (NEW, APPROVED, REJECTED); omit to count everything except REJECTED | |
| websiteId | No | Filter to one website (UUID) | |
| scoreBuckets | No | Relevance buckets, OR-combined: VERY_LOW (<10), LOW (10-29), MEDIUM (30-49), HIGH (50-74), VERY_HIGH (75+). LOW and VERY_LOW only count when includeLowRelevance is also true | |
| includeLowRelevance | No | Include mentions below the website minimum score (30 by default), hidden otherwise |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | { total }: the number of mentions matching the filters after the default exclusions. |