Skip to main content
POST
Generate evaluator scenarios

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
num_scenarios
integer
required

How many scenarios to generate.

agent_id
integer
extra_instructions
string

Optional guidance steering scenario generation.

tags
string[]
generate_expected_outcomes
boolean

Whether to generate expected-outcome prompts for the scenarios.

first_message
string
personalities
integer[]
test_profile
integer
scenario_type
enum<string>

Type of scenario to generate.

Available options:
workflow,
red_teaming_voice,
red_teaming_text
inbound_phone_number
integer | null
tool_ids
string[]
folder_path
string | null

Response

Scenario generation initiated.

progress_id
string
required

Identifier to poll generation progress with.