Skip to main content
Follow the REST mount guide. Bind restEndpoint to the project’s PostHog HTTPS origin and /api/projects/PROJECT_ID/insights/. Seal a personal API key with insight read access as a bearer token. Bind the receiver and the mount under the same restricted data label. Initialize with { profile: { mode: "provider", provider: "posthog.insights.observations", limit: 20 } }. The source requests basic insight metadata and lands ID, short ID, name and description, keyed by numeric ID. It extracts the offset from PostHog’s next link and uses the installed endpoint for each page. The next live sweep starts over. Missing insights stay landed. Each response supports up to 100 records and 36 KiB and requires the bundled parser artifact. PostHog Insights API