pydo.genai.create_generated_scenario_set()
Generated on 1 Oct 2026
from pydo version
v0.43.0
Usage
client.genai.create_generated_scenario_set(
body={
"generator_model_uuid": "123e4567-e89b-12d3-a456-426614174000",
"goal_description": "Test how the agent handles refund requests",
"name": "billing-support-generated",
...,
},
)Description
To dispatch goal-driven scenario generation, send a POST request to /v2/gen-ai/scenario_sets/generate. The scenario set is returned in the generating state. Poll the retrieve scenario set endpoint until the set reaches a ready, failed, or cancelled status.
Parameters
generator_model_uuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000Optional model to use for generation. Platform default when unset.
goal_descriptionstring optionalExample:
Test how the agent handles refund requestsThe goal that drives scenario generation.
namestring optionalExample:
billing-support-generatedThe name of the scenario set to create.
num_scenariosinteger optionalExample:
123Number of scenarios to generate. Defaults to 1 if unset.
Request Sample
Response Example
More Information
See /v2/gen-ai/scenario_sets/generate in the API reference for additional detail on responses, headers, parameters, and more.