Endpoints
List simulations
GET/api/v1/simulations
Retrieves a paginated list of simulations with optional filtering by workspace, status, name search, and creation date. Results are sorted by creation date (newest first) by default.
Parameters
Responses
200 - List of simulationsStart simulation
POST/api/v1/simulations
Creates and starts a new simulation based on the specified configuration. The simulation will begin in validating status, then progress through provisioning to running. Poll the GET endpoint to monitor progress.
Request Body
Responses
201 - Simulation started successfullyvalidated before starting a simulation
Get simulation status
GET/api/v1/simulations/{sim_id}
Retrieves detailed information about a specific simulation, including its current status, timing information, and metrics (if available).
Parameters
Responses
200 - Simulation detailsDelete simulation and free storage
DELETE/api/v1/simulations/{sim_id}
[Feature-gated: enable_simulation_delete] Permanently deletes a simulation and all associated data including results, logs, and checkpoints. This action cannot be undone. Running simulations must be terminated before deletion. This endpoint is only available on deployments where the enable_simulation_delete feature flag is enabled; callers may receive 404 on deployments where the flag is off.
Parameters
Responses
200 - Simulation scheduled for deletionTerminate running simulation
POST/api/v1/simulations/{sim_id}/terminate
Initiates graceful termination of a running simulation. The simulation will transition to terminated status. Results generated up to the termination point will be available.
Parameters
Responses
200 - Simulation termination initiatedGet simulation results
GET/api/v1/simulations/{sim_id}/results
Retrieves results for a completed simulation including summary metrics, dashboard URL, and downloadable result files (pcap, traces, etc.).
Parameters
Responses
200 - Simulation resultsGenerate presigned download URL for result file
GET/api/v1/simulations/{sim_id}/results/download-url
Parameters
Responses
200 - File download URL generatedGet computed summary data for simulation results
GET/api/v1/simulations/{sim_id}/results/data
Computes or retrieves cached summary statistics for simulation result CSV files using Polars. Returns a presigned URL to download the zstd-compressed JSON summary.
Parameters
Responses
200 - Summary data with presigned download URLGet simulation logs
GET/api/v1/simulations/{sim_id}/logs
Retrieves paginated logs from a simulation with optional filtering by log level and component. Logs are returned in chronological order.