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
string
required
The unique identifier of the simulation returned when you created it
Example Request
Response
string
The unique identifier of the simulation (“id”)
string
Current status of the simulation
queued: Waiting to be processedprocessing: Currently being generatedcompleted: Successfully completedfailed: Generation failed
string
Absolute URL to the final simulation (null unless
status == complete)string
ISO 8601 timestamp when the simulation was created
string
ISO 8601 timestamp when processing began (null if not started)
string
ISO 8601 timestamp when processing completed (null if not completed)
string
The original prompt used to generate the simulation
object
Error details if status is
failedExample Responses
Queued Simulation
Processing Simulation
Completed Simulation
Failed Simulation
Processing Stages
Simulations go through several stages during generation:Status Codes
OK
Status retrieved successfully
Not Found
Simulation not found
Internal Server Error
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