The Vangrid Streaming API delivers a continuous, real-time feed of ground truth events for a geographic zone you define. Unlike polling the spatial query endpoint, streaming gives you push-based updates the moment new observations are available from the edge network — essential for autonomous systems, live monitoring dashboards, and world model pipelines.Documentation Index
Fetch the complete documentation index at: https://docs.vangrid.io/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
\n) events as they arrive. The client reads the response body as a stream.
Request
Headers
| Header | Value |
|---|---|
Authorization | Bearer your-api-key |
Content-Type | application/json |
Body parameters
GeoJSON geometry defining the zone to monitor. Supports
Polygon and MultiPolygon. Maximum area is 50 km².Filter events to those above this confidence threshold. Defaults to
0.5.Limit events to specific observation types. If omitted, all types are streamed.
Example — open a stream
Stream events
Each line in the stream is a JSON object representing a single ground truth event:Event fields
Unique identifier for this event.
ISO 8601 UTC timestamp when the observation was captured.
GeoJSON geometry of the observed feature.
Classification of the observation.
Confidence score (0.0–1.0) based on multi-node corroboration.
Number of edge nodes that contributed to this observation.
Cryptographic proof of data origin, verifiable via the provenance endpoint.
Heartbeat events
Every 30 seconds with no new observations, the server sends a heartbeat to keep the connection alive:event.get("type") == "heartbeat".
Connection limits and reconnection
- Maximum one concurrent stream per API key by default
- Streams time out after 24 hours; reconnect to resume
- On disconnect, reconnect immediately — no data is buffered server-side during disconnection
Contact hello@vangrid.io to request higher concurrent stream limits or dedicated streaming infrastructure for production deployments.