Volume over time (day / week / month, optional split)
Counts mentions per day, week or month bucket over an inclusive YYYY-MM-DD window (default: the last 30 days), optionally split by keyword, source or sentiment. total counts distinct mentions in the window. Relevant mentions only unless includeAll=true.
Authorizations
Clerk API key. Create one in Settings → API Keys. Pass as Authorization: Bearer <key>. Keys carry a scope — read, write (implies read) or admin (implies write) — chosen when the key is minted. Each operation's security requirement (and its x-required-scope extension) names the minimum scope it needs; request the least-privileged key that covers the operations you call.
Query Parameters
Numeric ids of the monitored keywords to scope to (from list_keywords). Omit for every keyword. A mention that matched several keywords counts once per keyword in per-keyword breakdowns and once in totals.
0 < x <= 9007199254740991Inclusive first day of the window as YYYY-MM-DD (UTC) — NEVER an ISO timestamp with T/Z. Omit for the default: the last 30 days ending today.
^\d{4}-\d{2}-\d{2}$Inclusive last day of the window as YYYY-MM-DD (UTC). Omit for today. Must be on or after startDate; the window may span at most 365 days.
^\d{4}-\d{2}-\d{2}$Count every collected mention, including the ones the AI scored Low relevance or has not scored yet. Default false: only relevant mentions (High + Medium) count — the same set the mentions feed shows by default.
Bucket size: day, week (weeks start on Sunday), or month. Default day. Pick the one that gives roughly 5–30 buckets for the window.
day, week, month Optional second dimension: one row per bucket AND keyword / source / sentiment (the series field). Omit for one total per bucket.
keyword, source, sentiment Response
200 response
day, week, month Distinct mentions in the window (never double-counts a mention that matched several keywords, so a keyword split's rows can sum to more than this).
-9007199254740991 <= x <= 9007199254740991Sorted by bucket asc (then count desc within a bucket). Empty buckets omitted.
keyword, source, sentiment 