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

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .