latestOpenAPI 3.1.02026-08-221163801019.2 KB

f0f28319e448

Simulation

Create a simulation unit test

Create a new simulation unit test.

Permissions

This endpoint requires the following permissions:

  • Simulation:CreateSimulationUnitTest for the unit test to create.
post/v1/{organization}/simulation/unit_test/

Path parameters

organizationstring required

Headers

x-mongo-cluster-namestring nullable

The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.

The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.

Sec-WebSocket-Protocolstring[]

Request body

namestring required
descriptionstring required
service_idstring required

The service that the unit test runs on.

service_version_set_namestring required

The version set of the service that the unit test runs on.

persona_idstring required

The persona that unit test uses.

scenario_idstring required

The scenario that the unit test uses.

max_interactionsinteger required

The max number of interactions after which the unit test fails.

tagsobject required

The tags of the simulation persona.

Response

Succeeded.

simulation_unit_test_idstring required

The ID of the created simulation unit test.