Create Simulation Instance
POST/api/simulation-instances
Create a new simulation instance.
The caller's user id (from Authorization: Bearer <token>) is stamped
into owner_id; a no-token caller creates a public instance
(owner_id NULL), matching the pre-#102 shared-pool behavior.
Parameters: name (str, optional): The name of the simulation instance. description (str, optional): A description of the simulation instance. household_limit (int, optional): The maximum number of households to generate for the simulation instance.
Returns: dict: A dictionary containing the details of the created simulation instance.
Request
Responses
- 200
- 422
Successful Response
Validation Error