Import experiments
hypotize_experiments_importImport up to 50 existing experiments atomically: one invalid row rolls back the whole batch, and the error names it with index and title. Requires the editor or owner role in the project; a contributor or viewer gets INSUFFICIENT_ROLE with required_roles. Without framework a row uses the project's active framework. Each row follows the lifecycle rules: Ready, Running and Analyzing need hypothesis, success_metric, target_segment, start_date and due_date (EXPERIMENT_NOT_READY); Winning, Failed, Inconclusive and Learned need actual_result and learning_summary (OUTCOME_REQUIRED). Winning, Failed and Inconclusive set result Win, Lose and Neutral; a different result is OUTCOME_STATUS_MISMATCH, and Learned needs a result. A result on an open status is OUTCOME_STATUS_MISMATCH. Testing and Analysis are stored as Running and Analyzing. Other errors: INVALID_CUSTOM_FRAMEWORK, CUSTOM_FRAMEWORK_REQUIRED, INVALID_DIMENSIONS (scores keys must match the framework: ICE impact/confidence/ease, PIE potential/importance/ease, RICE reach/impact/confidence/effort), WINNER_NOT_IN_VARIANTS, INVALID_END_DATE, IDEMPOTENCY_KEY_REUSED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| experiments | Yes | ||
| idempotency_key | Yes |