Skip to main content
POST
Create Simulation

Authorizations

Authorization
string
header
required

Retrieve your API Key from Dashboard API Keys Section.

Body

application/json
logical_id
string | null

Unique identifier for the simulation

status
enum<string> | null
default:pending

Current status of the simulation

Available options:
pending,
running,
completed,
failed,
cancelled
name
string | null

Name of the simulation

description
string | null

Description of the simulation

selected_workflow
SimulationWorkflowDetails · object | null

Details about the selected workflow execution

counter_workflow
SimulationWorkflowDetails · object | null

Details about the counter workflow execution

timeout_seconds
integer | null
default:120

Maximum time in seconds to run the simulation

max_events
integer | null
default:3000

Maximum number of events to process in the simulation

number_of_simulations
integer | null
default:1

Number of times to run the simulation

max_concurrent_runs
integer | null
default:1

Maximum number of concurrent simulation runs allowed

assistant_starts_first
boolean | null
default:true

If True, the assistant workflow will kick off first, else it will be the user workflow.

stop_on_failure
boolean | null
default:false

Whether to stop the simulation on failure

run_by
string | null

Identifier of the user or system that initiated the workflow simulation

Response

Successful Response

Response model for a single simulation. Contains a SimulationConfigModel object.

simulation
SimulationConfigModel · object
required

Single simulation object