Base URL
All API requests should be made to:Authentication
Currently, the SimulationBank API does not require authentication. All endpoints are publicly accessible for development and testing purposes.In a production environment, you should implement proper authentication mechanisms such as API keys or OAuth tokens.
Response Format
All API responses follow a consistent JSON format:Success Response
Error Response
Common Error Codes
Invalid request parameters or malformed JSON body.
The requested resource does not exist.
Request conflicts with current state (e.g., trying to start an already running simulation).
An unexpected error occurred on the server.
Rate Limits
Currently, there are no rate limits enforced on API endpoints. However, running multiple concurrent simulations may impact performance.Request Headers
All requests should include:API Resources
The SimulationBank API provides the following resource endpoints:- Simulation - Control simulation lifecycle (start, pause, stop, get state)
- Metrics - Retrieve simulation metrics and reports
- Tellers - Query teller state and statistics
Data Models
Detailed schema documentation for request and response objects:- SimulationConfig - Configuration parameters for simulations
- Customer - Customer entity structure
- Teller - Teller entity structure
- Metrics - Metrics and statistics data structures