Update Scenario
update_scenarioUpdate an existing scenario. Each of name, populations, and tags is optional: a field left out keeps its stored value. Populations sent replace the whole list, never merging into it, so to change one, send the others alongside it, each with the id get_scenario reported, or they are dropped and the ones you send are new populations. The same save rules and summary as create_scenario apply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The new scenario name. Leave it out to keep the current name. | |
| tags | No | Tag names; a name the team doesn't have yet becomes a new tag. Omit to keep the current tags; send [] to clear them. | |
| projectId | Yes | ||
| scenarioId | Yes | ||
| populations | No | The Populations, in order. Each needs a name, the scriptId of a script in this project, and stages — { target, duration, ramp } segments that run for duration milliseconds and reach target bots by the end, each starting from where the previous stage left off. Optional per population: id (send back the id get_scenario reported to keep a population's identity), engineId (an id from list_engines; defaults to the account's default region; loadEngineId is its deprecated alias), iterations, iterationsPerUser, aggressionMultiplier, and playbackOptions with connectionBps (bits per second), hostnameOverrides, and variableOverrides. Read get_documentation topic 'load-test-scenarios' for what stages and ramps do; list_engines carries the account's stage bounds and bot caps. |