Prerequisites
- API access token (see Authentication)
curlor your preferred HTTP client- Basic familiarity with REST APIs
Setup
Set your API token as an environment variable:Step 1: Browse Available Templates
Templates provide pre-configured starting points for common simulation scenarios:Step 2: Create a Configuration from Template
Clone a template to create your own configurationcomponents, containers, applications, links, topology, and globalParameters.
Step 3: Validate the Configuration
Before running a simulation, validate your configuration:errors or warnings arrays:
Step 4: Start a Simulation
Now run your first simulation:Step 5: Monitor Progress
Check the simulation status:validating- Checking configuration. Some simulations skip this status and start inprovisioning.provisioning- Allocating resourcesrunning- Simulation in progresscompleted- Finished successfully
failed- The run, or the export of its results, stopped on an error.failureReason, when present, says why.terminated- The run was stopped before it finished: you terminated it, or the platform stopped it, for example after a node failure, an out-of-memory kill or a time limit. A simulation that started inprovisioningreports those platform stops asfailedinstead.invalid- The platform could not determine the run’s state.
Step 6: Get Results
Once the simulation completes, list the files it wrote:downloadUrl, which is valid for 15 minutes. size is in bytes. Simulation output files describes each file and shows how to get results computed from them.
Next Steps
- Learn more about configurations to customize your simulations
- Explore available models for different network components
- See the full simulation example for advanced usage