v1
latestSwagger 2.02026-08-0484141342.3 KBSimulations
# Create Simulation
Creates the simulation with given information
post/v1/simulations
Request body
Example request
{
"agent_id": 3,
"agent_user_ids": [
1,
2
],
"description": "This simulation rocks!",
"integrations": [
1,
2,
3
],
"name": "simulation - 1",
"protocols": [
{
"module_id": 1,
"protocols": [
"http",
"https"
]
}
],
"schedule": {
"day_of_month": [
1,
30
],
"day_of_week": [
1,
3
],
"frequency": "WEEKLY",
"frequency_interval": 2,
"name": "Schedule-1"
},
"template_id": 1
}Response
SimulationCreateReturnSwagger
Example response
{
"run_info": {
"browser": "BrowserUnknown",
"id": 1,
"status": "COMPLETED"
},
"simulation": {
"agent_user_ids": [
1,
2
],
"description": "description of the simulation",
"id": 1,
"integrations": [
1,
2,
3
],
"name": "Simulation - 1",
"protocols": [
{
"module_id": 1,
"protocols": [
"http",
"https"
]
}
],
"schedule_id": 3
}
}