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.

  • Delete session recording by uuid

    Delete a session recording by providing the session's UUID and the associated project ID. Requires `session_recording:write` permission. Returns no content on successful deletion.

  • Remove session recording from playlist

    Remove a session recording from a playlist in a PostHog project. This action only removes the recording from the playlist - it does not delete the recording itself. The recording remains available in the project and can be re-added to playlists later. Requires project_id (get via /api/projects/), short_id (playlist identifier), and session_recording_id. Returns HTTP 204 on success. The operation is idempotent - removing a non-existent recording succeeds. Useful for curating playlists by removing irrelevant or accidentally added recordings. Works with 'collection' type playlists.

  • Delete survey by id

    Delete a survey by providing its UUID and the associated project ID. Requires 'survey:write' permission. Returns no content with a 204 status on success.

  • Delete warehouse saved query

    Tool to delete a warehouse saved query from PostHog. Use when you need to remove a saved query from the data warehouse. The operation succeeds if the API returns 204 No Content status.

  • Delete web experiment

    Delete a web experiment by its ID from a specific project. Use when you need to permanently remove a web experiment. Requires 'experiment:write' scope.

  • Disable Feature Flag

    Disable feature flag in a PostHog project. Disable a feature flag.

  • Cohort duplication to static

    This endpoint duplicates a specified cohort as a static one within a project. Path parameters include `project_id` (string) and cohort `id` (integer). Successful requests return cohort details.

  • Duplicate experiment

    Tool to duplicate an existing experiment in PostHog. Use when you need to create a copy of an experiment with the same configuration. The API automatically appends '(Copy)' to the duplicated experiment name and creates a new feature flag for it.

  • Duplicate Llm Prompt

    Duplicate named LLM prompt in a PostHog project.

  • Duplicate survey to projects

    Duplicate a survey to multiple projects in a single transaction. Accepts a list of target team IDs and creates a copy of the survey in each project. Uses an all-or-nothing approach - if any duplication fails, all changes are rolled back.

  • Enable Feature Flag

    Enable feature flag in a PostHog project. Enable a feature flag.

  • Enable project early access feature

    Enables a new early access feature for a project using project ID, payload with details, and PersonalAPIKeyAuth. Returns a 201 status on success.

  • End Experiment

    End experiment in a PostHog project. End a running experiment without shipping a variant.

  • Finish symbol sets bulk upload

    Tool to finalize bulk upload of error tracking symbol sets for a PostHog project. Use when completing a multi-part symbol set upload process. This endpoint marks the upload as complete and makes the symbol sets available for error stack trace symbolication.

  • Flag annotation as deleted

    Update an annotation's deleted flag by project and annotation ID. The flag defaults to true to mark the annotation as deleted, but can also be set to false.

  • Create Notebook Widgets Fork

    Fork notebook widget in a PostHog project. PostHog documents this notebook API as early access and subject to breaking changes.

  • Create Experiment Freeze Exposure

    Freeze experiment exposure in a PostHog project. Freeze exposure on a running experiment while metrics keep flowing.

  • Create Insight Generate Metadata

    Generate insight metadata in a PostHog project. Generate an AI-suggested name and description for an insight based on its query configuration.

  • Generate Insight Name

    Tool to generate an AI-suggested name for a PostHog insight based on its query configuration. Use when you need to automatically name an insight instead of manually creating a descriptive title.

  • Create Notebook Widgets Generate

    Queue AI generation for an existing markdown Widget node in a PostHog notebook. Returns HTTP 202 status, not completed source. Requires organization AI data-processing approval and available AI credits; generation may incur charges. Reuse generation_id only for identical retries. PostHog documents this notebook API as early access and subject to breaking changes.

PreviousPage 9 / 35Next