Incidents

Incident summary counts

Get aggregated incident counts by type hierarchy.

Returns counts grouped by incident_type → event_type → event_subtype. Supports the same filters as the list endpoint (type, status, severity, spatial, time range) but without pagination — the response is a single summary object. Both type and status accept comma-separated values (e.g. ?status=active,upcoming).

The response includes two top-level keys:

  • types — filtered counts matching the current query parameters.
  • catalog — an unfiltered list of every incident_type / event_type / event_subtype combination that exists in the database. This is always the full set regardless of filters, so UIs can render complete filter menus (including categories with a zero count in the current view).
get/v1/data/incidents/summary

Request

  • Base URL: https://api.mapulus.com
  • URL: https://api.mapulus.com/v1/data/incidents/summary
  • Auth: HTTP bearer

Query parameters

typestring nullable

Filter by incident type (traffic, fire, power, weather). Comma-separated for multiple.

event_typestring nullable

Filter by event type (e.g. roadworks, crash, flood, fire_vegetation).

event_subtypestring nullable

Filter by event subtype (e.g. flash_flood, planned_roadworks, multi_vehicle).

statusstring

Filter by status (active, upcoming, resolved, expired). Comma-separated for multiple.

statestring nullable

Filter by state (QLD, NSW, etc.).

severitystring nullable

Filter by severity (minor, moderate, major, extreme).

sourcestring nullable

Filter by source_id.

boundary_idstring nullable

Incidents intersecting this boundary (e.g. lga:17200).

latnumber nullable

Latitude for radius search.

lngnumber nullable

Longitude for radius search.

radius_kmnumber nullable

Search radius in km (requires lat, lng).

sincestring nullable

Incidents started after this ISO datetime.

untilstring nullable

Incidents started before this ISO datetime.

ends_afterstring nullable

Incidents with expected_end_at after this ISO datetime.

ends_beforestring nullable

Incidents with expected_end_at before this ISO datetime.

Response

Aggregated counts by incident_type, event_type, and event_subtype.

Changes

No recorded changes to this operation across all 1 revision of this API.