get https://api.vergesense.com/metrics/hourly/spaces
Hourly metrics for spaces
Response
Property | Type | Description |
---|---|---|
local_date | String | Local date, formatted 'YYYY-MM-DD'. |
local_hour | Number | Local hour between 0-23. |
capacity | Number | Capacity of the space which the metric belongs at the time when the metric was recorded. |
avg_person_count | String | Average amount of people in space. |
min_person_count | Number | Minimum amount of people in space. |
max_person_count | Number | Maximum amount of people in space. |
minutes_actively_occupied | String | Amount of minutes that the space was actively occupied. |
minutes_passively_occupied | String | Amount of minutes that the space was passively occupied. |
avg_pct_utilization | Number | Average percentage that the space was utilized, represented in decimal form. |
min_pct_utilization | Number | Minimum percentage that the space was utilized, represented in decimal form. |
max_pct_utilization | Number | Maximum percentage that the space was utilized, represented in decimal form. |
pct_time_actively_occupied | String | Percentage of hour that the space was actively occupied, represented in decimal form. |
pct_time_passively_occupied | String | Percentage of hour that the space was passively occupied, represented in decimal form. |
Query Parameters
local_date
and local_hour
have 6 different comparison operators.
filter[<local_date/local_hour>][<operator>]=<value to filter against>
Operator | Description |
---|---|
eq | == is equal to |
not_eq | != is not equal to |
lt | < is less than |
lte | <= is less than or equal to |
gt | > is greater than |
gte | >= is greater than or equal to |