Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
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.
Get external data sources
POSTHOG_GET_EXTERNAL_DATA_SOURCESTool to retrieve external data sources for a PostHog project with pagination support. Use when you need to list or search for configured external data connections like Stripe, Postgres, or Snowflake.
Retrieve feature flag activity details
POSTHOG_GET_FEATURE_FLAG_ACTIVITY_DETAILSRetrieve activity details for a specific feature flag in a PostHog project.
Retrieve feature flag details
POSTHOG_GET_FEATURE_FLAG_DETAILSRetrieve detailed information about a specific feature flag in a PostHog project. This action fetches comprehensive details including: - Basic information (id, name, key) - Filter configuration and rollout percentages - Status (active, deleted) - Creator and modification history - Associated experiments, surveys, and features - Analytics and dashboard configurations - Access control and permissions - Tags and metadata Use this to inspect feature flag configuration, check status, or gather information before making updates. Requires a valid project_id and feature flag id.
Bulk Keys Feature Flags
POSTHOG_GET_FEATURE_FLAG_KEYSRetrieve feature flag keys in bulk in a PostHog project. Get feature flag keys by IDs. Accepts a list of feature flag IDs and returns a mapping of ID to key.
Get Feature Flag Remote Config
POSTHOG_GET_FEATURE_FLAG_REMOTE_CONFIGRetrieve remote configuration in a PostHog project.
Retrieve feature flag role access details
POSTHOG_GET_FEATURE_FLAG_ROLE_ACCESS_DETAILSRetrieve details for a specific role's access to a feature flag within a project. Requires 'feature_flag_id', 'id' for role access, and 'project_id'. Returns a JSON object with access details.
Retrieve feature flags activity log
POSTHOG_GET_FEATURE_FLAGS_ACTIVITY_LOGRetrieve the feature flag activity log for a PostHog project.