API referenceConsole
product analytics
Polylane reads PostHog error tracking, session replays and feature flag changes during investigations to find what changed and which users it affects.

Connect

Connect PostHog from the terminal. Pass --help for the flags PostHog accepts.

Terminal
polylane integration connect --type posthog

Disconnect

Disconnecting stops every sync and check and deletes the credentials Polylane held. Polylane removes what PostHog's API lets it remove. The following stays until you remove it yourself:

  • PostHog authorized application
Terminal
polylane integration disconnect <id>

Tools

7

Operations agents can perform in threads.

Query
Query PostHog analytics or discover the event and property vocabulary for a bounded date range
Insights
Read the PostHog insights, dashboards, alerts and notebooks the team watches
Changes
Read PostHog feature flags, experiments, releases and activity that explain what changed
Annotations
List PostHog project annotations before recording a new event
Errors
Read PostHog error-tracking issues, their events, stack frames and spike history
Replays
Read PostHog session recordings and playlists to understand what users saw
Api
Call the connected PostHog REST API