SZ

SafeZone AI

API Specifications & Interactive Prototype Hub

Full-Stack Disaster Management Platform

SafeZone AI Interactive Prototype & Developer Suite

Test real-time environmental hazard scoring, emergency SOS dispatching, shelter capacities, and safe-routing algorithms bypassing active disaster coordinates.

System Architecture & Workflows

1. Hazard Risk Engine

Computes composite risk levels (Low, Moderate, High, Critical) using weighted rainfall, water-level telemetry, and wind speeds.

2. Safe-Routing Algorithm

Penalizes and calculates detours around active disaster coordinates to ensure evacuees reach emergency shelters without crossing flood lines.

3. SOS Dispatch Room

Transmits emergency distress signals with precise GPS locations directly to authority rescue consoles for immediate dispatch.

Interactive OpenAPI Documentation

Base URL: https://ip.tehub.in/api/index.php
GET /shelters Query nearby shelters by GPS coordinates

Returns list of emergency shelters with live capacity, occupancy, and calculated distance.

Query Parameters: lat=12.9716 & lon=77.5946
GET /hazards Retrieve active disaster hazard zones

Fetches active flood, landslide, and hurricane warning polygon zones.

GET /risk-telemetry Compute live environmental risk scores

Returns environmental sensor telemetry (rainfall, water levels, wind speed) and calculated risk tier.

POST /sos Broadcast an Emergency SOS Distress Call

Submits citizen emergency distress payload with precise GPS location.

POST /routing/safe-route Calculate Hazard-Avoiding Safe Evacuation Route

Evaluates origin and destination against active flood circles, generating detour waypoints around hazards.