PostHog Experiments API

The PostHog Experiments API provides programmatic management of A/B tests and experiments. It supports creating experiments with control and test variants, defining goal metrics, launching and stopping experiments, and retrieving experiment results with statistical significance calculations.

API entry from apis.yml

apis.yml Raw ↑
aid: posthog:experiments-api
name: PostHog Experiments API
description: The PostHog Experiments API provides programmatic management of A/B tests and experiments.
  It supports creating experiments with control and test variants, defining goal metrics, launching and
  stopping experiments, and retrieving experiment results with statistical significance calculations.
humanURL: https://posthog.com/docs/api/experiments
tags:
- A/B Testing
- Experimentation
- Metrics
- Variants
properties:
- type: Documentation
  url: https://posthog.com/docs/api/experiments