Skip to main content

Simulation Endpoint

Generate realistic emergency scenarios for testing and training purposes with access911.

Endpoint

Request

Headers

Body Parameters

Available Scenarios

Request Examples

Basic Simulation

High-Volume Simulation

Custom Table Simulation

Response

Success Response

Error Response

Response Fields

HTTP Status Codes

Rate Limits

  • Maximum calls per request: 1000
  • Rate limit: 100 requests per minute
  • Burst limit: 500 requests per minute

Generation Methods

AI-Powered Generation (≤20 calls)

For small batches, the API uses AWS Bedrock AI to generate human-like call summaries:

Template-Based Generation (>20 calls)

For large batches, the API uses templates for high throughput:

Call Data Structure

Each generated call includes:

Error Handling

Common Errors

Error Response Format

Best Practices

Performance Optimization

  • Start Small: Begin with 10-20 calls to test system responsiveness
  • Monitor Performance: Watch response times and error rates
  • Use Appropriate Scenarios: Choose scenarios that match your testing needs

Error Handling

  • Implement Retry Logic: Retry failed requests with exponential backoff
  • Handle Rate Limits: Implement proper rate limiting in your client
  • Monitor Errors: Track error rates and types for debugging

Security

  • Validate Input: Always validate parameters before sending requests
  • Handle Sensitive Data: Be careful with sensitive information in logs
  • Use HTTPS: Always use HTTPS for API requests

SDK Examples

Python

JavaScript

Testing

Unit Testing

Integration Testing

Testing Environment: Use the simulation API for testing and training purposes only. For production emergency response, ensure proper integration with your existing 911 systems.