{"service": "intelligence", "api_version": 1, "base_url": "https://mallport.co.uk/intelligence/api/v1/", "endpoints": [{"path": "https://mallport.co.uk/intelligence/api/v1/widgets.json", "method": "GET", "description": "Cached reference widgets: weather, DEFRA/drought Atom excerpts, Met Office (if licensed), EA floods, commodities, precip proxy, optional operator warnings and hydrology; signed outbound URLs where applicable."}, {"path": "https://mallport.co.uk/intelligence/api/v1/commodities.json", "method": "GET", "description": "Sanitized commodity price series (operator JSON feed); rate-limited like widgets."}, {"path": "https://mallport.co.uk/intelligence/api/v1/me.json", "method": "GET", "description": "Session-auth only: per-user intelligence alert prefs + watch zones for native geofencing; rate-limited per IP."}, {"path": "https://mallport.co.uk/intelligence/api/v1/spec.json", "method": "GET", "description": "This document."}, {"path": "https://mallport.co.uk/intelligence/staff/snapshot-health.json", "method": "GET", "description": "Staff session only: JSON snapshot freshness (age_seconds, ok, errors) for uptime monitors. Not rate-limited; do not expose publicly."}], "notes": "When INTELLIGENCE_ENABLED is false, widgets.json returns intelligence_enabled=false. Respect Open-Meteo attribution on any UI using weather fields. Personal saved-location weather is only rendered in HTML for logged-in users on the hub/dashboard; it is not included in widgets.json. Fields drought_advisory and met_office_datapoint mirror cached snapshots; Met Office requires DataPoint licensing. AHDB links in the HTML hub use signed outbound URLs when commodity signposts are enabled. EA flood monitoring is advisory; drought_precip_proxy is not statutory SPI. warnings_operator and hydrology_reference appear when staff enable those sources and env URLs/stations are set; they are reference/operator mirrors, not statutory warning products. Commodity redistribution requires rights to the upstream feed. Weekly intelligence-only email is available from Email preferences when digest-style intelligence is on and the main digest is off. FCM prefers HTTP v1 (service account) over legacy server key. met_office_public_warnings is the official Met Office RSS product when staff enable it; confirm syndication ToU. met_office_nswws + met_office_nswws_issued_geojson in widgets.json cover NSWWS Atom and issued FeatureCollection summary when staff enable credentials. Server-side watch-zone overlap alerts use GeoJSON geometry (heuristic match; INTELLIGENCE_NSWWS_WATCH_ZONE_ALERTS_ENABLED). me.json exposes watch_zones. Multiple commodity vendors: INTELLIGENCE_COMMODITY_PRICE_JSON_URLS. INTELLIGENCE_STATUTORY_MARKETING_ENABLED gates optional counsel-approved statutory copy in hub UI; me.json exposes statutory_marketing_enabled for native clients. staff/snapshot-health.json is staff-auth JSON for ops (see Governance \u00a72.5.2)."}