Simulation Status
Simulation APIs
Simulation Status
Check the current status and progress of a simulation
GET
Simulation Status
Overview
The Simulation Status API allows you to monitor the progress of your simulation generation. Use this endpoint to check whether your simulation is queued, processing, completed, or has encountered an error.Authentication
This endpoint supports anonymous access, allowing you to check status without authentication if you have the simulation ID.
Path Parameters
The unique identifier of the simulation returned when you created it
Example Request
Response
The unique identifier of the simulation (“id”)
Current status of the simulation
queued: Waiting to be processedprocessing: Currently being generatedcompleted: Successfully completedfailed: Generation failed
Absolute URL to the final simulation (null unless
status == complete)ISO 8601 timestamp when the simulation was created
ISO 8601 timestamp when processing began (null if not started)
ISO 8601 timestamp when processing completed (null if not completed)
The original prompt used to generate the simulation
Error details if status is
failedExample Responses
Queued Simulation
Processing Simulation
Completed Simulation
Failed Simulation
Processing Stages
Simulations go through several stages during generation:| Stage | Description |
|---|---|
parsing_prompt | Analyzing and understanding the input prompt |
creating_terrain | Generating the base terrain and environment |
placing_buildings | Adding structures and buildings |
generating_agents | Creating and positioning actors |
configuring_behaviors | Setting up agent behaviors and interactions |
finalizing_simulation | Final optimization and validation |
Status Codes
Status retrieved successfully
Simulation not found
Server error retrieving status
Polling Best Practices
When polling for status updates:- Start with short intervals: Poll every 5-10 seconds initially
- Increase intervals gradually: Move to 30-60 seconds for longer simulations
- Respect rate limits: Don’t exceed your API rate limits
- Use webhooks when possible: Consider using webhook notifications instead of polling
Next Steps
- Once status is
completed, retrieve results with the Results API - Learn about Risk Analysis for safety assessments
- Explore Urban Mobility MARL for real-time simulations