Search alerts

Search the alerts of the organization associated with the API key. One endpoint drives every
filter combination: only timeRange is required, every other filter is optional and filters
are combined with AND semantics (values inside an array filter are OR-ed). Each returned alert
carries its category and flowType using the same values as the filter.

Results are sorted by timestamp descending (newest first) and paginated with page/size
(zero-based page, size 1..100, default 25).
The response envelope always includes the total number of alerts matching the filters, so
total can exceed items.length.

Filters:

filtermeaning
timeRangeRequired. { start, end } in milliseconds since epoch.
cameraIdsOnly alerts from these cameras.
locationIdsOnly alerts from cameras at these locations.
flowTypesOnly alerts of these categories / flow types (see below).
acknowledgedtrue = only acknowledged (archived) alerts, false = only open alerts, omit = both.
tagIdsOnly alerts of events carrying these event tags.
objectIdsOnly alerts for these object types: PERSON, VEHICLE, PET, WEAPON, FIRE, MULTIPLE, SHOPPING_CART.
eventIdsOnly alerts produced by these events.

cameraIds and locationIds intersect: an alert must match all provided scope filters. An
empty intersection returns an empty page with total: 0.

flowTypes is an array of { category?, flowType? } entries, OR-ed together. Each entry needs
a category, a flowType, or both: a category alone matches every flow type of that category;
a flow type alone matches that flow type (names are unique across categories); when both are sent
the flow type must belong to the category, otherwise the request fails with 400.

flowType values by category:

categoryflowType values
SAFETYMOTION, TAMPERING, PROXIMITY, WEAPON, TRESPASSING, TAILGATING, ZONE_PROTECTION, SPEED_LIMIT, DOOR, FIRE, FALL, VIOLENCE, SUSPECT, WEAPON_BRANDISHED, TRESPASSING_ZONES
IDENTIFICATIONFACE_DETECTION, LPR, CONTAINER
TRACKINGAPPEARANCE, DISAPPEARING, LOITERING, LINE_CROSSING, OCCUPANCY, TRAFFIC_CONTROL, MISSING_OBJECT, ABSENCE, COUNTING, SNAPSHOT, HOLDING_PHONE
STATUSCAMERA, EDGE, ANALYTIC
CUSTOMIZEDPROTECTIVE_GEAR, PERSONAL_SAFETY, PERIODIC_TEXT, GLOVES, HANDS, COLLISION_AVOIDANCE
INTEGRATIONSEVENT_TAG, EVENT_TAG_TAILGATING, EVENT_TAG_POS_VALIDATION, DEVELOPER, EVENT_CLEARANCE
RETAILSHELF_OCCUPANCY_THRESHOLD, SHELF_OCCUPANCY_CHANGE
STATECHANGE, TRANSITION, DURATION
MONITORINGMETRICS, STORAGE

Each returned alert is enriched with the camera, edge and location names, the IANA timezone of
the camera location, and thumbnailUrl — the absolute URL of GET /v1/alerts/{alertId}/thumbnail.
Fetch it with the same API key: send Authorization: Bearer <token> (preferred), or append
?token=<token> for direct <img> embedding (note: query tokens can appear in access logs).
thumbnailUrl is null when the alert has no thumbnail.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The search filters and pagination.

timeRange
object
required

Time range to search alerts in (milliseconds since epoch)

cameraIds
array of strings

Filter by camera ids

cameraIds
locationIds
array of strings

Filter by location ids

locationIds
flowTypes
array of objects

Filter by alert category and/or flow type; entries are OR-ed. Each entry needs a category, a flowType, or both.

flowTypes
boolean

Filter by acknowledged (archived) status: true returns only acknowledged alerts, false only open alerts; omit to include both

tagIds
array of strings

Filter by event tag ids; only alerts of events carrying these tags are returned

tagIds
objectIds
array of objects

Filter by tracked object types

objectIds
Allowed:
eventIds
array of strings

Filter by ids of the events that produced the alerts

eventIds
number
Defaults to 0

Page number for pagination (zero-based)

number
≤ 100
Defaults to 25

Number of items per page

Responses

400

Invalid request: missing timeRange, unknown category/flowType/objectIds value, an empty flowTypes entry, a flowType that does not belong to its category, page below 0, or size outside 1..100.

401

Missing or invalid API key.

403

Organization not allowed by this token.

500

Internal server error.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json