{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To create a scenario set, send a POST request to `/v2/gen-ai/scenario_sets`. Provide exactly one of `scenarios` or `file_upload_scenario_set`. The set is created in the ready state.","properties":{"body":{"$ref":"#/definitions/apiCreateScenarioSetInputPublic"}},"required":[],"additionalProperties":false,"definitions":{"apiCreateScenarioSetInputPublic":{"description":"Public parameters for creating a scenario set.","properties":{"file_upload_scenario_set":{"allOf":[{"$ref":"#/definitions/apiFileUploadDataSource"}],"description":"Uploaded scenario file to ingest. Provide this or `scenarios`, not both."},"name":{"description":"The name of the scenario set.","type":"string","examples":["support-agent-scenarios"]},"scenarios":{"description":"Inline scenarios. Provide this or `file_upload_scenario_set`, not both.","items":{"$ref":"#/definitions/apiScenario"},"type":"array"}},"type":"object"},"apiFileUploadDataSource":{"description":"File to upload as data source for knowledge base.","properties":{"original_file_name":{"description":"The original file name","type":"string","examples":["example name"]},"size_in_bytes":{"description":"The size of the file in bytes","type":"string","examples":["12345"]},"stored_object_key":{"description":"The object key the file was stored as","type":"string","examples":["example string"]}},"type":"object"},"apiScenario":{"description":"A single test case in a scenario set.","properties":{"description":{"description":"What the user tries to accomplish. Required.","type":"string","examples":["example string"]},"exploration_budget":{"description":"Number of episodes to explore for this scenario. Defaults to 1 if unset.","type":"integer","examples":[123]},"max_turns":{"description":"Turn budget for the scenario. Falls back to the run-level default if unset.","type":"integer","examples":[123]},"name":{"description":"Human-readable name for the scenario. Optional.","type":"string","examples":["example name"]},"scenario_uuid":{"description":"Unique id for the scenario. Always generated by the API; any\ncustomer-supplied value is ignored and overwritten.","type":"string","examples":["123e4567-e89b-12d3-a456-426614174000"]},"stopping_criteria":{"description":"Judge stopping criteria. Required; must contain at least one entry.","items":{"type":"string","examples":["example string"]},"type":"array","examples":[["example string"]]},"user_persona":{"description":"How the user communicates (tone, role). Optional.","type":"string","examples":["example string"]}},"type":"object"}}},"name":"Create Scenario Set","id":"digitalocean.genai_create_scenario_set","example":{},"maxRequests":1,"summary":false}}