experiments
Update experiment
Update an existing experiment's configuration.
Supports two modes:
1. Partial updates: Provide individual fields (name, description, stages, prolificConfig). Only provided fields are updated. Omit fields you don't want to change.
2. Full template update: Provide a complete template object (ExperimentTemplate). This replaces the entire experiment including all stages and agents. Other fields are ignored when template is provided.
Stages replacement (partial mode): If stages is provided, it completely replaces all existing stages. To modify a single stage, first GET the experiment, modify the stages array, then PUT the full array back.
put/experiments/{id}
Path parameters
idstring required
Experiment ID
Request body
Response
Experiment updated successfully
Example response
{
"updated": true,
"id": "exp123"
}