PostHog API guide

posthog.com

Use PostHog to review feature flag rollouts and dashboard health, spot changes in event properties, and set your team homepage.

Actions and inputs

projects feature-flags list

List a project’s feature flags and rollout rules.

Inputs project ID

dashboard health

Check dashboards for stale data and broken references.

Inputs project ID, optional staleness threshold in days

events property-drift

Compare event properties across time windows to spot missing fields.

Inputs event name, project ID

user-home-settings partial-update

Set your homepage or replace your pinned sidebar tabs for the current team.

Inputs @me, homepage or tabs

Personal PostHog team homepage setting

Create

Set a personal homepage for the current team.

Inputs @me, PostHog destination URL

Read

View your configured homepage for the current team.

Inputs @me

Update

Change your homepage to a different PostHog destination.

Inputs @me, new PostHog destination URL

Delete

Clear your custom homepage without changing pinned tabs.

Inputs @me, homepage set to null