experiments_update
Partially update an existing experiment and return the updated experiment. Send only fields that should change; use experiments_set_status for lifecycle changes. Plus and Go cannot set URL pattern rules, and Go cannot set geo or traffic-source filters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| projectId | No | Optional project ID. Omit only when the API key is project-scoped or the account has a clear default project. | |
| targeting | No | Optional targeting object. Device and visitor targeting are available on all plans; trafficFilters and geoFilters require Plus or Pro. Use documented pixel metadata keys such as utm_source, utm_medium, utm_campaign, device, browser, or geo fields. | |
| controlUrl | No | Replacement control URL. Omit to keep the current value. | |
| experimentId | Yes | Experiment ID returned by experiments_create or experiments_list. | |
| variationUrl | No | Replacement variation URL. Omit to keep the current value. | |
| urlPatternRules | No | Optional Pro-only URL pattern rules for advanced matching across multiple paths. Prefer simple controlUrl/variationUrl first. | |
| trafficAllocation | No | Replacement variation share. Accepts 0-1 or 0-100. | |
| preserveRedirectParams | No |