The data ingestion endpoint lets you contribute spatial observations from your own sensor systems into the Vangrid network. Submitted observations are processed through the same cryptographic provenance pipeline as native edge node data, giving you verifiable records of what your systems reported and when.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
Request
Headers
| Header | Value |
|---|---|
Authorization | Bearer your-api-key |
Content-Type | application/json |
Body parameters
Array of observation objects to submit. Maximum 500 observations per request.
Example request
Response
Response fields
Unique identifier for this ingestion batch.
Number of observations successfully accepted.
Number of observations rejected due to validation errors.
Array of provenance hash strings, one per accepted observation. Archive these for future verification.
Details on any rejected observations, including index and reason.
Example response
Error responses
| Status | Error code | Description |
|---|---|---|
400 | invalid_geometry | One or more geometries are not valid GeoJSON |
400 | invalid_observation_type | Unknown observation type provided |
400 | batch_too_large | More than 500 observations in a single request |
401 | unauthorized | Missing or invalid API key |
429 | rate_limit_exceeded | Too many requests |