v1
latestOpenAPI 3.0.32026-07-26134195287.9 KBAnalytics
Get Occupancy Trend Data
Returns all occupancy trends data for a particular camera over a specified time range.
Responses will include the start and end time of the data requested and device information (ID, serial number) alongside the readings.
get/cameras/v1/analytics/occupancy_trends
Query parameters
camera_idstring required
The unique identifier of the camera.
start_timeinteger
The start of the time range for occupancy trends. Formatted as a Unix timestamp in seconds. Defaults to an hour from the current time.
end_timeinteger
The end of the time range for occupancy trends. Formatted as a Unix timestamp in seconds. Defaults to the current time.
interval'15_minutes' | '1_hour' | '1_day'
An enumeration.
type'person' | 'vehicle'
An enumeration.
preset_idstring
The unique identifier of the camera preset.
Response
OK