v2

latestOpenAPI 3.1.02026-08-05100545344.4 KB

Create a simulation case

Create a new simulation case for a workspace.

post/simulation_cases

Headers

Authorizationstring required

Bearer authentication

Request body

namestring required

Name of the simulation case.

promptstring required

Prompt used during the simulation case.

type'custom' | 'agent_based' required

Simulation case type.

success_criteriastring[] required

Success criteria evaluated for the case.

call_success_type'all' | 'any' required

Success logic for the case.

suite_idstring uuid

ID of the simulation suite to add this case to. Required for v2 simulation suites.

base_agent_idstring nullable

Agent ID to base the generated case on.

Response

200

statusstring

Whether the request was successful.