ZeqAmbulance
Ambulance routing with HulyaPulse traffic-aware optimization. Dynamic rerouting every Zeqond cycle, hospital capacity checking, golden hour countdown.
| Endpoint | POST /api/emergency/ambulance |
| Auth | api-key |
| Rate limit | 30/min |
| Category | emergency |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
origin | object | Yes | { lat, lng } pickup location. |
destination | object | No | { lat, lng } hospital. Auto-selects nearest if omitted. |
patientCondition | string | No | 'stable', 'critical', 'trauma', 'cardiac', 'stroke'. |
Returns
{ route, eta_min, hospitalCapacity, goldenHourRemaining_min, zeqond }
Example
curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"origin": {},
"destination": {},
"patientCondition": "<patientCondition>"
}' \
"https://zeqsdk.com/api/emergency/ambulance"
This protocol is a named building block — one of the operations you
compose inside a state contract. Call it directly with
the request above, or invoke it from a contract that fires on your machine's
clock. Browse the whole library at GET /api/protocols; fetch this one at
GET /api/protocols/zeq-ambulance.