dots.v2.genAi.scenario_sets.byScenario_set_uuid().put()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.genAi.scenario_sets.byScenario_set_uuid(scenario_set_uuid).put(body: ApiUpdateScenarioSetInputPublic, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | ApiUpdateScenarioSetOutput>Description
To update a scenario set in place, send a PUT request to /v2/gen-ai/scenario_sets/{scenario_set_uuid}. Provide a new name and/or replacement scenarios. At least one is required. Replacing contents keeps the same scenario set UUID, remints scenario UUIDs, and is rejected unless the set is ready and no simulation run references it. There is no file-upload path on update.
Parameters
Path Parameters
scenario_set_uuidstring requiredExample:
"123e4567-e89b-12d3-a456-426614174000"UUID of the scenario set to update. Returned by
CreateScenarioSet
and listed viaListScenarioSets.
Request Body
namestring optionalExample:
example nameOptional new name. When set, must be non-empty and at most 255 characters.
scenarioSetUuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000UUID of the scenario set to update.
scenariosarray of objects optionalOptional inline scenarios to replace the set contents. At least one of
name or scenarios is required.Show child properties
descriptionstring optionalExample:
example stringWhat the user tries to accomplish. Required.
explorationBudgetinteger optionalExample:
123Number of episodes to explore for this scenario. Defaults to 1 if unset.
maxTurnsinteger optionalExample:
123Turn budget for the scenario. Falls back to the run-level default if unset.
namestring optionalExample:
example nameHuman-readable name for the scenario. Optional.
scenarioUuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000Unique id for the scenario. Always generated by the API; any
customer-supplied value is ignored and overwritten.stoppingCriteriaarray of strings optionalExample:
["example string"]Judge stopping criteria. Required; must contain at least one entry.
userPersonastring optionalExample:
example stringHow the user communicates (tone, role). Optional.
Request Sample
Response Example
More Information
See /v2/gen-ai/scenario_sets/{scenario_set_uuid} in the API reference for additional detail on responses, headers, parameters, and more.