Incident Filters

Describes all Incident attributes that have filters.

The following filters apply to Get all Incidents. Add them as query parameters, e.g. ?state__in=triggered,acknowledged&severity=p1.

Filter AttributeFilter TypeAvailable FiltersReference
idIdexact, inField Filter Id
stateEnumexact, in. Values: triggered, acknowledged, resolved (case insensitive)
severityEnumexact, in. Values: p0 to p4 (case insensitive)
typeEnumexact, in. Values: device, variable (case insensitive)
nameStringexact (case sensitive), iexact (case insensitive), contains, icontains (case insensitive), startswith, istartswith (case insensitive), endswith, iendswith (case insensitive), in (case sensitive), isnullField Filter String
descriptionStringexact (case sensitive), iexact (case insensitive), contains, icontains (case insensitive), startswith, istartswith (case insensitive), endswith, iendswith (case insensitive), in (case sensitive), isnullField Filter String
messageStringexact, iexact, contains, icontains, startswith, istartswith, endswith, iendswith. Matches Incidents with a Comment whose message matchesField Filter String
device__idIdexact, in. Device of the Incident (context.device.id)Field Filter Id
device__labelStringSame lookups as name. Label of the device of the IncidentField Filter String
event__idIdexact, in. Event that created the IncidentField Filter Id
trigger__idIdexact, in. Event trigger that created the IncidentField Filter Id
deviceGroup__idIdexact, in. Incidents of the devices in the Device GroupField Filter Id
deviceType__idIdexact, in. Incidents of the devices of the Device TypeField Filter Id
assignedTo__userIdIdexact, in. User the Incident is assigned toField Filter Id
assignedTo__typeStringexact. user, contact-method or contact-method-by-tag
trigger_valueNumberexact (=), range, gt (>), gte (≥), lt (<), lte (≤), isnullField Filter Number
contextJSONexact, contains, contained_by, has_key, has_any_keys, has_keys, isnull
createdAt, updatedAt, triggeredDate, acknowledgedDate, resolvedDateDateexact (=), isnull, date, year, month, day, hour, and each unit with gt, gte, lt, lte and rangeField Filter Date

Search

search runs a case-insensitive search over the Incident. It also accepts the text lookups as search__<lookup>, e.g. search__istartswith=freezer.

Time zone

tz sets the time zone used by the date lookups, e.g. ?createdAt__date=2026-11-20&tz=America/Bogota.

Sorting

sort_by takes a comma-separated list of fields; prefix a field with - to sort descending. The default is -createdAt (newest first). Allowed fields:

state, name, description, severity, context__trigger_value, context__device__name, triggeredDate, resolvedDate, createdAt.