A partner-facing REST API over the Flood Sentinel data store: station metadata, live readings, history, flood thresholds and ML forecasts. JSON in, JSON out, BoM attribution included.
All data endpoints live under /bom/v1 and require a Bearer token (role api_customer or admin).
GET /bom/v1/stations — filter by state, type or bbox. GET /bom/v1/stations/{id} for detail and /parameters for what each gauge measures.
GET /bom/v1/stations/{id}/readings for time series, /latest for the most recent value per parameter.
Query readings?from=&to= for historical water level and rainfall — date range depth scales with your plan (90 days → unlimited).
GET /bom/v1/routing/network returns the routing graph and /stations/{id}/upstream the tributary topology.
GET /bom/v1/forecast/{id} — ML-based flood forecast where the station is modelled, plus /thresholds and /validation skill metrics.
GET /bom/v1/alerts for active flood alerts; POST /bom/v1/webhooks to get pushed updates.
JWT auth: register, log in for an access token, then send it as Authorization: Bearer <token>.
Every response carries X-RateLimit-* headers, an attribution field and api_version. Errors return {"error", "status"} with the matching HTTP code.