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 project insights with format option

    Create a new analytics insight in a PostHog project. Insights are saved queries that visualize data from your analytics events. Use this to create trends, funnels, retention, or other analytics visualizations. You can define the insight using either: - Legacy 'filters' format (simpler, widely supported) - Modern 'query' format (more powerful, recommended for new integrations) The optional 'format' parameter controls response format: - 'json' (default): Returns structured JSON with insight metadata - 'csv': Returns CSV-formatted representation of the insight Requires a valid project_id. Returns HTTP 201 on success with the created insight details including a unique ID and short_id.

  • Create a notebook in a project

    Create a notebook in a PostHog project. The feature is in early access and its API can have breaking changes without announcement.

  • Create project pipeline frontend app job

    Create a job for a pipeline frontend app config in a project. Requires `project_id` and config `id`, accepting JSON/form-data. Returns the created job's details.

  • Create Retrieve Retention Insights For Project

    Create and retrieve retention insights for a project using PostHog's Query API. Analyzes how users return over time based on specified events or actions. Uses the /api/projects/{project_id}/query/ endpoint with a RetentionQuery. Requires a project ID and authenticated access with 'insight:read' permission. If no query is provided, returns default retention data for $pageview events over 7 days.

  • Create project subscription with delivery options

    Create a subscription for a given project by providing required details such as delivery method, frequency, and starting date. Requires a project ID and supports various content types. Returns the newly created subscription. Security: PersonalAPIKeyAuth.

  • Create project surveys with questions and targets

    Create a project survey with a name, type, and optional questions and targeting settings. Uses personal API key authentication and returns a survey object on success.

  • Create query in project by id

    Submit a query for a specific project using structured query details. Supports asynchronous execution and returns query results or execution status.

  • Create session recording playlists

    Create playlists of session recordings for a specified project. Requires 'project_id' path parameter and personal API key with write access. Supports JSON, form-encoded, or multipart data. Returns 201 on success with playlist details.

  • Generate AI summary for session recording

    Generate an AI-powered summary for a session recording. Requires PostHog AI feature to be enabled. Provide the project_id and the session recording's UUID to get an AI-generated summary including key activities, user interactions, and insights about the session. Note: This endpoint requires PostHog AI to be enabled for your organization and may only be available on paid plans. Returns 403 Forbidden if the feature is not accessible.

  • Create Surveys Summary Headline

    Tool to create or regenerate a summary headline for a survey. Use when you need to generate an AI-powered headline summary of survey responses for a specific project survey. The endpoint processes survey data to create a concise headline.

  • Create warehouse saved query

    Create a new warehouse saved query in PostHog for data warehouse operations. Use this to define reusable HogQL queries that can be executed against your warehouse tables. The query name must contain only letters, numbers, underscores, dots, or dollar signs.

  • Create Web Experiment

    Create a new web experiment in a PostHog project. Web experiments allow you to run A/B tests by dynamically transforming DOM elements on your website based on feature flag variants. Use when you want to test different UI variations, messaging, or layouts without deploying new code.

  • Delete Account Notebook

    Delete account notebook in a PostHog project.

  • Delete alert

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

  • Delete Customer Profile Config

    Delete a customer profile configuration by ID in a PostHog project. Returns a success flag and confirmation message after a successful response.

  • Delete Dashboard Sharing Passwords

    Delete sharing password in a PostHog project. Delete a password from the sharing configuration.

  • Create Dashboard Delete Tile

    Delete dashboard tile in a PostHog project. Soft-delete a single tile from a dashboard.

  • Delete desktop recording

    Tool to delete a desktop meeting recording by its UUID and project ID. Use when you need to permanently remove a desktop recording from a PostHog project.

  • Delete endpoint

    Delete an endpoint and clean up materialized query. Returns no content with a 204 status on success. Use when you need to remove an endpoint configuration from a PostHog project.

  • Delete error tracking autocapture controls

    Delete an error tracking autocapture control configuration by UUID and project ID. Use when you need to remove autocapture settings for error tracking.

PreviousPage 6 / 35Next