Corporate called it a miracle. Alex called it an API call. One night, Alex checked the GET /occupancy/current endpoint. The mall closed at 9 PM. By 10 PM, occupancy should be zero.
He set a rule: When main_entrance.counts.in exceeds 200 people in 5 minutes, send an alert to security and trigger a digital sign outside saying "EAST ENTRANCE IS LESS BUSY". The webhook payload was minimal:
He drilled into GET /paths for that corridor. xovis api documentation
{ "zone": "main_entrance", "interval": "2025-03-10T14:00:00Z", "in": 847, "out": 812, "net": 35 } For the first time, he knew exactly how many people were inside. Two weeks later, Alex noticed something strange.
Most paths were straight lines: people walked through. But one repeated pattern caught his eye: a sudden stop at coordinate [x: 214, y: 87] , then a rapid reversal. Corporate called it a miracle
Alex didn’t know. He had old infrared beams at entrances that counted shadows, not people. On rainy days, they double-counted umbrellas. On busy Saturdays, they missed families entirely.
He didn’t guess anymore. He read the flow. The mall closed at 9 PM
It wasn’t.