vexo_event_timeline
Detect cutover dates—when a group stops or starts firing an event—by querying per-day event counts. Requires event names and date range.
Instructions
Per-day timeline of specific events. Use to detect cutover dates — the day a group STOPS (or starts) firing an event. event_names is REQUIRED to bound output. Counts are bucketed by calendar day (UTC). Ranges > 31 days auto-split.
Inputs: event_names: REQUIRED list, e.g. ["worker_shift_feed_viewed","screen_view"]. start_date, end_date: ISO dates (end inclusive). group_by: OPTIONAL dimension, e.g. "worker_id" (defaults to server group key). filter_values: OPTIONAL list restricting group_by to these values. Max 200. filters: OPTIONAL extra key/value constraints. granularity: only "day" is supported.
Returns: { window, granularity, group_by, rows:[{group?, date, event_name, count}], truncated, total_count? }. Sorted by group, date, event_name. Days with no events are absent (a gap == no activity). On failure: { error }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_names | Yes | required, bounds the output | |
| start_date | Yes | ||
| end_date | Yes | ||
| group_by | No | ||
| filter_values | No | ||
| filters | No | ||
| granularity | No | day |