Hanzo AI
OpenapiPatrol

List feed

Holds a Server-Sent Events connection open and writes every change in the picture as it happens: a unit's position, an incident moving, a feed row, a…

GET /v1/patrol/feed

Addresshttps://api.hanzo.ai/v1/patrol/feed
MethodGET
Operationget_patrol_feed
AuthAuthorization: Bearer $HANZO_API_KEY

Holds a Server-Sent Events connection open and writes every change in the picture as it happens: a unit's position, an incident moving, a feed row, a checkpoint confirmed. Each record is one data: line carrying a JSON frame whose kind says which of the four it is, terminated by a blank line; a comment line arrives every 25 seconds so an idle connection stays open.

It carries the caller's own org and no other. ?since=<YYYY-MM-DD HH:MM:SS> replays the feed rows written at or after that moment before the stream goes live, so a reader that reconnected misses nothing it can still see. The list routes are the truth and the stream is a live hint: a dropped frame costs one refresh.

Request

GET /v1/patrol/feed takes no parameters and no body — the credential is the whole request.

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo patrol feed

Patrol API · All Hanzo APIs · Interactive reference

How is this guide?

On this page