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.

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

The unique identifier of the organization.

string
required

The unique identifier of the camera.

integer

The start of the time range for occupancy trends.
Formatted as a Unix timestamp in seconds.
Defaults to an hour from the current time.

integer

The end of the time range for occupancy trends.
Formatted as a Unix timestamp in seconds.
Defaults to the current time.

string
enum
Defaults to 1_hour

The time interval for each array in trend_in and trend_out.
Options available are: 15_minutes, 1_hour, 6_hours, 12_hours, 1_day, 30_days.
Defaults to 1_hour.

Allowed:
string
enum
Defaults to person

The type of the counted object.
Currently available type is person.
Default is person.

Allowed:
Response

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