count_activities
Count activities within a date range, with optional grouping by source, type, identity, day, or week to answer how many, how often, or compare metrics.
Instructions
Count activities in a time window, optionally grouped by source, type, identity, day, or week. The primitive behind 'how many', 'how often', and 'compare X vs Y' questions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | Inclusive start (RFC3339 or YYYY-MM-DD) | |
| end | No | Exclusive end (RFC3339 or YYYY-MM-DD) | |
| source | No | ||
| type | No | ||
| identity_id | No | ||
| group_by | No | Optional grouping. Empty means just return the total. |