Admin
Administrative endpoints for API key management, analytics, and operations. Admin access only.
View audit log
Returns the compliance audit trail. Every API call touching customer data
View all users' billing and revenue
Returns per-user billing totals for the admin revenue dashboard.
Create a new API key
Generates a new API key with configurable tier, daily limit, and duration. The plaintext key is returned once — only the hash is stored.
Create an organization
Creates a new organization for multi-tenant bank isolation. Assign users to orgs to control data visibility.
List all organizations
List all organizations
List users in an organization
List users in an organization
Assign a user to an organization
Assign a user to an organization
List all flood zones (admin)
All flood zones with full metadata — source, severity, activation mode, rain state, active flag.
Create a flood zone (admin)
Add a flood zone from a GeoJSON Polygon. `activation_mode` is `always`
Update flood-zone metadata (admin)
Update name, severity, activation mode, or rain threshold. Geometry is immutable — delete and recreate to reshape.
Delete a flood zone (admin)
Delete a flood zone (admin)