posthog_query_trends
Query event trends from PostHog (pageviews, signups, DAU, etc. over time). Returns time-series data. Only works if PostHog is connected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | No | Events to query. Each: { id: "$pageview", name: "Page Views", math: "total" }. Defaults to $pageview. | |
| date_to | No | End date (default: now) | |
| interval | No | Grouping interval (default: day) | |
| companyId | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. | |
| date_from | No | Start date: "-7d", "-30d", "-90d", "2024-01-01" (default: -7d) |