Tool

Experiment update

The Experiment Update tool by PostHog enables users to efficiently modify existing experiments by ID, allowing updates to experiment details, metrics, lifecycle state, and variants. It empowers teams to manage experiments dynamically, including launching, concluding, restarting, and archiving experiments with ease.

posthog

Features

  • Update experiment name, description, and key properties seamlessly.
  • Modify primary and secondary metrics to track relevant data effectively.
  • Control experiment lifecycle: launch drafts, conclude with results, restart, or archive experiments.
  • Adjust variants and feature flag parameters to test different scenarios.
  • Supports detailed configuration with filtering metrics by events, funnel steps, and properties.

Benefits

  • Streamlines experiment management for data-driven decision making.
  • Enables precise control over experiments to optimize product and feature performance.
  • Improves agility by allowing pausing, restarting, and archiving experiments as needed.
  • Facilitates insightful analysis through customizable metrics and event tracking.
  • Reduces errors with user-friendly update formats and lifecycle management options.

Description

Update an existing experiment by ID. Can update name, description, lifecycle state, variants, metrics, and other properties. RESTART WORKFLOW: To restart a concluded experiment, set end_date=null, conclusion=null, conclusion_comment=null, and optionally set a new start_date. To make it draft again, also set start_date=null. COMMON PATTERNS: Launch draft (set start_date), stop running (set end_date + conclusion), archive (set archived=true), modify variants (update parameters.feature_flag_variants). NOTE: feature_flag_key cannot be changed after creation.

Parameters

2 parameters

NameTypeDescription
experimentIdrequirednumber

The ID of the experiment to update

datarequiredobject

The experiment data to update using user-friendly format

Ready to vibe automate?

Join thousands of people who have transformed their workflows.

Workflows

Automations with AI agents

Collections

All your data, searchable

Chat Widget

Drop-in widget for your website

Developer API

Build AI-powered apps with ease

    We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy