Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create new project experiment
POSTHOG_CREATE_PROJECT_EXPERIMENTCreate a new experiment in a specific PostHog project using experiment details and a personal API key. Returns experiment information.
Create project insights with format option
POSTHOG_CREATE_PROJECT_INSIGHTS_WITH_FORMAT_OPTIONCreate 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
POSTHOG_CREATE_PROJECT_NOTEBOOKCreate a notebook in a PostHog project. The feature is in early access and its API can have breaking changes without announcement.
Create project subscription with delivery options
POSTHOG_CREATE_PROJECT_SUBSCRIPTIONCreate 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
POSTHOG_CREATE_PROJECT_SURVEYCreate 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 session recording playlists
POSTHOG_CREATE_SESSION_RECORDING_PLAYLISTCreate 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
POSTHOG_CREATE_SESSION_RECORDING_SUMMARYGenerate 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
POSTHOG_CREATE_SURVEY_SUMMARY_HEADLINETool 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
POSTHOG_CREATE_WAREHOUSE_SAVED_QUERYCreate 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
POSTHOG_CREATE_WEB_EXPERIMENTCreate 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.
Cohort duplication to static
POSTHOG_DUPLICATE_COHORT_TO_STATICThis 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
POSTHOG_DUPLICATE_EXPERIMENTTool 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
POSTHOG_DUPLICATE_LLM_PROMPTDuplicate named LLM prompt in a PostHog project.
Duplicate survey to projects
POSTHOG_DUPLICATE_SURVEY_TO_PROJECTSDuplicate 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 project early access feature
POSTHOG_ENABLE_PROJECT_EARLY_ACCESS_FEATUREEnables a new early access feature for a project using project ID, payload with details, and PersonalAPIKeyAuth. Returns a 201 status on success.
Generate Insight Name
POSTHOG_GENERATE_INSIGHT_NAMETool 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.
Crud operations for project annotations
POSTHOG_MANAGE_PROJECT_ANNOTATIONSCreate an annotation for a PostHog project.
Create project timing insights
POSTHOG_MARK_INSIGHTS_AS_VIEWEDRecord project insights as viewed by submitting their IDs to the insights timing endpoint. The configured connection uses a personal API key.
Create experiment timeseries recalculation
POSTHOG_RECALCULATE_EXPERIMENT_TIMESERIESTool to create a recalculation request for experiment timeseries data. Use when you need to recalculate metrics for an experiment. The experiment must have a start_date set (must be started) for recalculation to work.
Retry batch export run
POSTHOG_RETRY_BATCH_EXPORT_RUNTool to retry a failed or incomplete batch export run. Uses the same backfill mechanism as batch export backfills. Use when you need to re-execute a specific batch export run that failed or needs to be re-processed.