All endpoints return JSON unless otherwise noted. No authentication required.
http://localhost:3000
Returns the latest sweep data from all sources as a JSON object. Contains source statuses, counts, alerts, and timestamps.
Generates an AI-powered intelligence briefing from the latest sweep data using Groq cloud or a local Ollama model.
groq:llama-3.3-70b-versatile
optional
es or en (default: es)
optional
Lists available LLM models (from Ollama and Groq), including the currently selected model and Ollama availability status.
Returns historical sweep data for a specific source. Used for sparkline charts in the dashboard.
usgs, firms, gdelt
Returns the last 100 alerts generated by sweep analysis. Includes severity levels, source IDs, and timestamps.
Downloads the latest sweep data as a JSON file attachment.
Downloads the latest sweep data as a CSV file attachment with columns: source_id, ok, count, ts.
Returns the current geographic scope and all available scopes.
Changes the active geographic scope. Triggers a new sweep with the updated bounding box and notifies all connected SSE clients.
sa, eu, na, asia, meast, africa
Server-Sent Events (SSE) endpoint for real-time data. Sends the latest briefing on connect and pushes new sweep data as it arrives. Each message is a JSON object with a type field.