/metrics/hourly/spaces

Hourly metrics for spaces

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

Response

PropertyTypeDescription
local_dateStringLocal date, formatted 'YYYY-MM-DD'.
local_hourNumberLocal hour between 0-23.
capacityNumberCapacity of the space which the metric belongs at the time when the metric was recorded.
avg_person_count StringAverage amount of people in space.
min_person_count NumberMinimum amount of people in space.
max_person_countNumberMaximum amount of people in space.
minutes_actively_occupiedStringAmount of minutes that the space was actively occupied.
minutes_passively_occupied StringAmount of minutes that the space was passively occupied.
avg_pct_utilizationNumberAverage percentage that the space was utilized, represented in decimal form.
min_pct_utilizationNumberMinimum percentage that the space was utilized, represented in decimal form.
max_pct_utilizationNumberMaximum percentage that the space was utilized, represented in decimal form.
pct_time_actively_occupiedStringPercentage of hour that the space was actively occupied, represented in decimal form.
pct_time_passively_occupied StringPercentage 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>

OperatorDescription
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
Query Params
string
Defaults to -local_date,local_hour

Comma separated list of attributes used to sort the collection. Use a negative(-) sign to reverse the order.

string

Limit attributes that are included in a request. Comma separated list of attributes.

int32
Defaults to 1

Page number for pagination.

int32
Defaults to 10

Amount of records to return per page. Limit is 1000.

string

Filter metrics based on its associated space type's key.

string

Filter metrics based on its associated space type's name.

string

Filter metrics based on its associated space's building_ref_id.

string

Filter metrics based on its associated space's floor_ref_id.

string

Filter metrics based on its associated space's space_ref_id.

date
Defaults to 2020-11-01

Filter metrics where local_date is greater than or equal to value.

date

Filter metrics where local_date is less than or equal to value.

int32
Defaults to 8

Number between 0-23. Filter metrics where local_hour is greater than or equal to value.

int32
Defaults to 16

Number between 0-23. Filter metrics where local_hour is less than or equal to value.

Responses

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