Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create Experiment Freeze Exposure
POSTHOG_FREEZE_EXPERIMENT_EXPOSUREFreeze experiment exposure in a PostHog project. Freeze exposure on a running experiment while metrics keep flowing.
Create Insight Generate Metadata
POSTHOG_GENERATE_INSIGHT_METADATAGenerate insight metadata in a PostHog project. Generate an AI-suggested name and description for an insight based on its query configuration.
Create Notebook Widgets Generate
POSTHOG_GENERATE_NOTEBOOK_WIDGETQueue 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.
Create Survey Generate Translations
POSTHOG_GENERATE_SURVEY_TRANSLATIONSGenerate survey translations in a PostHog project.
Initiate domain verification with saml config
POSTHOG_INITIATE_DOMAIN_VERIFICATION_WITH_SAML_CONFIGInitiates domain verification for SAML SSO authentication. This endpoint triggers the verification process for a previously created domain by checking if the required DNS TXT record has been added. **Requirements:** - Enterprise plan with SAML SSO feature - Domain must be created first via CREATE_DOMAIN_WITH_SAML_FOR_ORGANIZATION - DNS TXT record with verification_challenge value must be published **Verification Process:** 1. Create domain and receive verification_challenge value 2. Add TXT record to your domain's DNS: _posthog-challenge.yourdomain.com with the challenge value 3. Call this endpoint to verify - PostHog checks for the DNS record 4. If found, domain is_verified becomes true and SAML SSO is activated **Common Errors:** - 403: Organization lacks Enterprise plan or proper permissions - 404: Domain ID not found in organization - Verification may fail if DNS record not propagated yet (can take up to 48 hours) POST /api/organizations/{organization_id}/domains/{id}/verify/
Create Notebook Sql V2 Runs Interrupt
POSTHOG_INTERRUPT_NOTEBOOK_CELL_RUNInterrupt notebook SQL run in a PostHog project. Stop a running cell. Idempotent: interrupting an already-finished run returns its outcome unchanged. Flag-gated (revamped-py-notebooks). PostHog documents this notebook API as early access and subject to breaking changes.
Create Notebook Runs Interrupt
POSTHOG_INTERRUPT_NOTEBOOK_RUNInterrupt notebook run in a PostHog project. Stop a whole-notebook run and the cell it is on. Idempotent: stopping a run that already finished returns its outcome unchanged. Flag-gated (revamped-py-notebooks). PostHog documents this notebook API as early access and subject to breaking changes.
Create Canvas Actions Invoke
POSTHOG_INVOKE_CANVAS_ACTIONInvoke canvas action in a PostHog project. Invoke one registered action verb as the viewer.
Launch Experiment
POSTHOG_LAUNCH_EXPERIMENTLaunch experiment in a PostHog project. Launch a draft experiment.
Launch Survey
POSTHOG_LAUNCH_SURVEYLaunch survey in a PostHog project. Launch a survey by setting `start_date` to the current time. No-op if the survey is already launched (start_date set in the past) — returns the existing state unchanged. Does not affect archived surveys or surveys with an end_date in the past; unarchive or extend the end_date first.
Manage feature flag enrichment for usage dashboard
POSTHOG_MANAGE_FEATURE_FLAG_ENRICHMENT_FOR_USAGE_DASHBOARDRequest usage-dashboard enrichment for a feature flag in a PostHog project.
Mark insight as viewed with configurable format
POSTHOG_MARK_INSIGHT_AS_VIEWED_WITH_CONFIGURABLE_FORMATMarks one or more insights as viewed by the current user for a specified project. This endpoint records user engagement with insights and is idempotent. Requires `project_id` and `insight_ids` (a list of insight IDs to mark as viewed). Supports optional `format` parameter ('csv' or 'json') to control response serialization. Use this to track which insights a user has viewed, helping to surface new or unviewed insights in the UI or analytics.
Migrate Experiment
POSTHOG_MIGRATE_EXPERIMENTMigrate experiment in a PostHog project. Move a legacy experiment onto the new experiments engine.
Move dashboard tile
POSTHOG_MOVE_DASHBOARD_TILEMove a tile from one dashboard to another in a PostHog project.
Create Dashboard Move Tile
POSTHOG_MOVE_DASHBOARD_TILE_TO_DASHBOARDMove dashboard tile in a PostHog project.
Move file system item
POSTHOG_MOVE_FILE_SYSTEM_ITEMMove a PostHog file-system item or folder to a new path.
Update alert configuration
POSTHOG_PATCH_ALERTTool to update an existing alert configuration in PostHog. Use when you need to modify alert settings such as name, enabled status, thresholds, or subscribed users. Performs a partial update (PATCH) - only fields provided in the request will be updated.
Patch Batch Export
POSTHOG_PATCH_BATCH_EXPORTUpdate an existing batch export configuration in PostHog by partially modifying fields like name, paused status, destination, or schedule. Use when you need to modify batch export settings without replacing the entire configuration.
Mark product onboarding complete
POSTHOG_PATCH_COMPLETE_PRODUCT_ONBOARDINGTool to mark a specific product onboarding as complete for a PostHog project. Use when a user has finished onboarding for features like product_analytics, session_replay, feature_flags, surveys, error_tracking, or data_warehouse. Updates the project's onboarding completion status.
Patch Customer Profile Config
POSTHOG_PATCH_CUSTOMER_PROFILE_CONFIGUpdate a customer profile configuration by partially modifying fields like content, scope, or sidebar. Use when you need to modify specific fields of an existing customer profile config without replacing the entire object.