Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Reset person distinct ID
POSTHOG_RESET_PERSON_DISTINCT_IDReset a distinct_id for a deleted person. This allows the distinct_id to be used again. Use when you need to recycle a distinct_id from a previously deleted person for reuse.
Resume Experiment
POSTHOG_RESUME_EXPERIMENTResume experiment in a PostHog project. Resume a paused experiment.
Create Notebook Widgets Revert
POSTHOG_REVERT_NOTEBOOK_WIDGETRevert notebook widget in a PostHog project. PostHog documents this notebook API as early access and subject to breaking changes.
Revoke organization invite
POSTHOG_REVOKE_ORGANIZATION_INVITEDelete an organization invite by its UUID. Requires a valid PersonalAPIKeyAuth with organization member write permission. No response body returned on success (HTTP 204).
Create Feature Flag Roll Out To Everyone
POSTHOG_ROLL_OUT_FEATURE_FLAG_TO_EVERYONERoll flag out to everyone in a PostHog project. Serve a feature flag to every user.
Create Notebook Runs
POSTHOG_RUN_NOTEBOOKCreate notebook run in a PostHog project. Run every SQL and Python cell of a markdown notebook, in document order, stopping at the first cell that does not finish. Returns as soon as the run starts; poll the run status endpoint until the status is terminal. Flag-gated (revamped-py-notebooks). PostHog documents this notebook API as early access and subject to breaking changes.
Create Notebook Sql V2 Run
POSTHOG_RUN_NOTEBOOK_CELLRun notebook SQL in a PostHog project. Dispatch an asynchronous run of a notebook SQL or Python cell. Returns a run_id immediately; poll the run result endpoint until the status is terminal. One run at a time per notebook. Python notebooks enable all run types. HogQL runs without a connection or kernel are always available. PostHog documents this notebook API as early access and subject to breaking changes.
Create Notebook Collab Save
POSTHOG_SAVE_NOTEBOOK_COLLABORATION_STATESave collaborative notebook in a PostHog project. PostHog documents this notebook API as early access and subject to breaking changes.
Save Notebook Markdown
POSTHOG_SAVE_NOTEBOOK_MARKDOWNSave a full collaborative markdown notebook at its current version. Retrieve the notebook first for its short_id and version. Returns the persisted notebook with its new version. HTTP 409 means conflict; HTTP 410 means reload the notebook because the missing updates cannot be replayed. Does not execute cells or provision a kernel. This PostHog API is early access and may change.
Create Feature Flag Set Release Condition Rollout
POSTHOG_SET_FEATURE_FLAG_RELEASE_CONDITION_ROLLOUTSet release condition rollout in a PostHog project. Set what percentage of one release condition's audience a feature flag is served to.
Set Llm Prompt Labels
POSTHOG_SET_LLM_PROMPT_LABELSUpdate LLM prompt label in a PostHog project.
Create Experiment Ship Variant
POSTHOG_SHIP_EXPERIMENT_VARIANTShip experiment variant in a PostHog project. Ship a variant and (optionally) end the experiment.
Split person entities in project
POSTHOG_SPLIT_PERSON_ENTITIES_IN_PROJECTSplit distinct IDs from a person in a project. Optionally specify which distinct IDs to split off.
Stop Survey
POSTHOG_STOP_SURVEYStop survey in a PostHog project. Stop a survey by setting `end_date` to the current time. No new responses are accepted after this; existing responses remain available. No-op if the survey already has an end_date in the past.
Create Dashboard Subscribe Nudge
POSTHOG_SUBSCRIBE_TO_DASHBOARD_NUDGECreate subscription nudge in a PostHog project. Send the requesting user an in-app notification suggesting they subscribe to this dashboard. Deduplicated server-side: at most one notification per user and dashboard, ever, so repeat calls return 200 with created=false.
Unarchive Experiment
POSTHOG_UNARCHIVE_EXPERIMENTUnarchive experiment in a PostHog project. Unarchive an archived experiment.
Unarchive Feature Flag
POSTHOG_UNARCHIVE_FEATURE_FLAGUnarchive feature flag in a PostHog project. Restore an archived feature flag to the default flag list.
Unarchive Llm Prompt
POSTHOG_UNARCHIVE_LLM_PROMPTUnarchive named LLM prompt in a PostHog project.
Unarchive survey response
POSTHOG_UNARCHIVE_SURVEY_RESPONSETool to unarchive a single survey response. Use when you need to restore a previously archived survey response to make it visible again in survey analytics.
Create Experiment Unfreeze Exposure
POSTHOG_UNFREEZE_EXPERIMENT_EXPOSUREUnfreeze experiment exposure in a PostHog project. Reopen enrollment on an exposure-frozen experiment.