Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get Experiment Flag Cleanup Target
POSTHOG_GET_EXPERIMENT_FLAG_CLEANUP_TARGETRetrieve flag cleanup target in a PostHog project. Repository a flag-cleanup pull request for this experiment would be opened in.
Get Experiment Flag Cleanup Task
POSTHOG_GET_EXPERIMENT_FLAG_CLEANUP_TASKRetrieve flag cleanup task in a PostHog project. Status of the flag-cleanup Desktop task opened for this experiment.
Get Experiment Health
POSTHOG_GET_EXPERIMENT_HEALTHRetrieve experiment health in a PostHog project. Health check findings for this experiment: problems in its configuration and its feature flag that keep it from producing trustworthy results, each with a fix. `checks` gives the result of each check, so a check that found no problem can be told from one that did not apply or could not read an input.
Get Experiment Health Inputs
POSTHOG_GET_EXPERIMENT_HEALTH_INPUTSRetrieve experiment health inputs in a PostHog project. Staff only. The inputs that the health checks read for this reader, to debug why a finding shows or not: the context of the checks in `health`, the exposure query's answer that the exposure checks read, and facts about the project from the setup context's providers (the team's experiment defaults and which SDKs call flags). The exposure answer comes from the cache. When it is missing or stale, a calculation starts in the background and `exposures.status` says so.
Get experiment holdout details
POSTHOG_GET_EXPERIMENT_HOLDOUT_DETAILSRetrieve details of a specific experiment holdout by ID within a project. Use this to get information about an experiment holdout including its name, description, filters, and creation details.
Get experiment holdouts
POSTHOG_GET_EXPERIMENT_HOLDOUTSTool to retrieve experiment holdouts for a specific PostHog project. Use when you need to view holdout groups for experiments. Returns paginated list of holdouts with their configurations and metadata.
Get Experiment In Session Exposure
POSTHOG_GET_EXPERIMENT_IN_SESSION_EXPOSURERetrieve in-session exposure in a PostHog project. How the recordings tab's in-session exposure scope reads on this experiment.
Get Experiment Metrics Recalculation
POSTHOG_GET_EXPERIMENT_METRICS_RECALCULATIONRetrieve metric recalculation in a PostHog project.
Get Experiment Metrics Recalculation Latest
POSTHOG_GET_EXPERIMENT_METRICS_RECALCULATION_LATESTRetrieve latest metric recalculation in a PostHog project.
Get experiment saved metric
POSTHOG_GET_EXPERIMENT_SAVED_METRICTool to retrieve a specific experiment saved metric by ID from a PostHog project. Use when you need to fetch details about a saved metric configuration for experiments.
Get eligible feature flags for experiments
POSTHOG_GET_EXPERIMENTS_ELIGIBLE_FEATURE_FLAGSTool to retrieve feature flags eligible for use in experiments. Use when you need to find multivariate feature flags that can be used to run A/B tests. Only returns flags with at least 2 variants where the first variant key is 'control'.
Create Experiment Session Contexts
POSTHOG_GET_EXPERIMENT_SESSION_CONTEXTSCreate session contexts in a PostHog project. Resolve experiment context for a batch of session recordings.
Create Experiment Session Event Deltas
POSTHOG_GET_EXPERIMENT_SESSION_EVENT_DELTASCalculate session event deltas in a PostHog project. The recordings worth watching for this experiment, grouped into cards.
Create Experiment Setup Context
POSTHOG_GET_EXPERIMENT_SETUP_CONTEXTCreate experiment setup context in a PostHog project. Facts about this project that decide how to configure a new experiment.
Retrieve experiments requiring flag implementation
POSTHOG_GET_EXPERIMENTS_REQUIRING_FLAG_IMPLEMENTATIONRetrieve details for experiments that require feature flag implementation in a specific project. Requires a valid 'project_id' and user must have 'experiment:read' permission. Returns information like experiment names, dates, flags, and creation data.
Get experiments stats
POSTHOG_GET_EXPERIMENTS_STATSRetrieve experimentation velocity statistics for a PostHog project, including recent launch counts, percentage change, active experiments, and recent completions.
Retrieve export unsubscribe configs
POSTHOG_GET_EXPORT_UNSUBSCRIBE_CONFIGSRetrieves export unsubscribe configurations for pipeline import apps in an organization. This endpoint returns a list of configurations that define how users can unsubscribe from various pipeline import app exports. Each configuration includes an ID, plugin type identifier, and configuration settings. Use case: Check which export import apps support unsubscribe functionality and their configuration details. This is useful for managing data export preferences and compliance requirements. Note: This endpoint may require specific organization permissions or enterprise features. If you receive a 403 Forbidden error, the organization may not have access to pipeline import apps or this specific feature may not be enabled.
Fetch export unsubscribe settings
POSTHOG_GET_EXPORT_UNSUBSCRIBE_SETTINGSRetrieves export unsubscribe configurations for pipeline transformations in an organization. This endpoint returns a list of configurations that define how users can unsubscribe from various pipeline transformation exports. Each configuration includes an ID, plugin type identifier, and configuration settings. Use case: Check which export transformations support unsubscribe functionality and their configuration details. This is useful for managing data export preferences and compliance requirements. Note: This endpoint may require specific organization permissions or enterprise features. If you receive a 403 Forbidden error, the organization may not have access to this feature.
Get external data schema
POSTHOG_GET_EXTERNAL_DATA_SCHEMARetrieve one external data schema and its sync configuration.
Get external data source
POSTHOG_GET_EXTERNAL_DATA_SOURCETool to retrieve details of a specific external data source by its UUID and project ID. Use when you need to access external data source configuration, status, and metadata.