Data & Analytics

PostHog

PostHog is an open-source product analytics platform tracking user interactions and behaviors to help teams refine features, improve funnels, and reduce churn

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Create Persons Bulk Delete

    Request bulk deletion of persons by PostHog person IDs or distinct IDs. Options allow requesting deletion of associated events and recordings or retaining person records; deletion is asynchronous and batched.

  • Bulk Restore Insights

    Bulk restore insights in a PostHog project. Restore soft-deleted insights in bulk by ID — the inverse of bulk_delete. Sets deleted=False and re-activates the insights' dashboard tiles on dashboards that still exist. Linked alerts are not restored (they are removed on delete). Insights the requester cannot edit are reported in `skipped`.

  • Bulk Set Test Account Filter Insights

    Set test account filter in bulk in a PostHog project. Turn 'filter out internal and test users' on or off for every existing insight in the project. Requires project admin, matching the settings UI that fronts it. The setting of the same name only decides the default for new insights; this applies it to the insights that already exist. Only insights that store a query are changed; insights still holding legacy `filters` are counted in `legacy` and left as they are. Insights with nowhere to put the toggle, such as SQL insights, are left alone, as are insights the requester cannot edit. Dashboards follow their insights unless the dashboard sets its own override. Insights are updated in batches, so a failure part way through leaves the finished batches applied. Retrying is safe and picks up the rest.

  • Bulk Update Tags Experiments

    Bulk update experiment tags in a PostHog project. Bulk update tags on multiple objects.

  • Bulk Update Tags Feature Flags

    Bulk update feature flag tags in a PostHog project. Bulk update tags on multiple objects.

  • Create Experiment Calculate Running Time

    Calculate experiment running time in a PostHog project. Estimate the recommended sample size and running time for an experiment.

  • Create Notebook Widgets Cancel

    Cancel a notebook widget generation job in a PostHog project. The notebook API is early access and subject to breaking changes.

  • Cancel insights for a project

    Submit a request to cancel a running or queued insight query in a PostHog project, typically using its client query ID.

  • Capture Event

    Send a single analytics event to PostHog's public ingestion endpoint using a project API key. A success response indicates receipt, not guaranteed ingestion.

  • Create Insight Data Checks

    Check insight query data quality in a PostHog project. Check the events behind an insight for the common ways they mislead: internal and test users, local development traffic, bots and crawlers, and events sent twice. Works for trends, funnels, stickiness and lifecycle insights whose series are events. The checks apply the insight's own filters, and read the newest days of its date range, up to 7. The bot and duplicate checks read a sample of those days. For a token, the internal users check matches the emails of the organization's members only with the `organization_member:read` scope, and its verified domains only with `organization:read`. It names the emails it finds only with `person:read`. Nothing is stored. This route runs the query it is sent, so it needs query access as well as insight access. To check a saved insight by its id, send a GET request to `insights/{id}/data_checks/`.

  • Check pipeline destination updates

    Check for available updates to a pipeline destination plugin by comparing the currently installed version (tag) with the latest version available in the plugin's repository. Use this to determine if a pipeline destination plugin can be upgraded to a newer version. Returns update information including current tag, latest tag, and whether an update is available. Note: This endpoint may require admin/staff permissions or may only be available for custom organization-owned plugins (not global PostHog Inc. plugins).

  • Check pipeline import app updates

    Retrieve the latest update information for a specific pipeline import app by its ID within an organization. This endpoint returns details such as plugin type, name, description, and version data. Requires 'id' and 'organization_id' as path parameters.

  • Check pipeline plugin update status

    Get update status for a specific pipeline transformation plugin by its unique ID within an organization. This endpoint requires the 'organization_id' and 'plugin' IDs and returns details like plugin type, name, and update information.

  • Check project's demo data generation status

    Check if a project is currently generating demo data. This endpoint retrieves the demo data generation status for a specific project within an organization. Returns whether the project is currently in the process of generating demo data. **Important Authentication Note**: This endpoint requires session-based authentication (cookie-based) and does not support Personal API Key authentication. It may return 403 Forbidden when using API keys. This endpoint is primarily intended for use within the PostHog web application.

  • Create Notebook Kernel Complete

    Complete notebook code in a PostHog project. Completions for the cursor position in a Python cell, from the notebook's running kernel. Returns no matches when no kernel is running or the kernel is busy, and never starts one. PostHog documents this notebook API as early access and subject to breaking changes.

  • Create Notebook Kernel Config

    Configure notebook kernel in a PostHog project. Set the notebook's kernel compute configuration. Applies at sandbox provision time: a currently running kernel keeps its resources until restarted. PostHog documents this notebook API as early access and subject to breaking changes.

  • Create Dashboard Copy Tile

    Copy dashboard tile in a PostHog project. Copy an existing dashboard tile to another dashboard (insight, text card, or widget tile).

  • Create Experiment Copy To Project

    Copy experiment to project in a PostHog project. Copy an experiment into another project in the same organization as a new draft.

  • Create Account Notebook

    Create account notebook in a PostHog project.

  • Create Max AI insight and query

    Tool to create and query insights using PostHog's Max AI assistant. Use when you need to generate insights from natural language queries. The AI interprets your query and creates the appropriate insight configuration (trends, funnels, or retention). Returns the generated insight with query configuration and results data.

PreviousPage 2 / 35Next