Aggregates
Aggregates refer to historical, pre-computed statistics and counts of events that occur at specific curbside locations, summarized on an hourly basis. These aggregates provide a consolidated view of event activity over time, helping to identify trends and patterns in curb usage. The data used to generate these aggregates is derived from sessions recorded in the system, which captures detailed information about individual events. By analyzing these hourly aggregates, cities and organizations can gain insights into curbside activities, such as peak usage times, frequency of events, and overall trends, which can inform planning and operational strategies.
Access metrics data in the Curb Data Specification format. Requires the start_time
and end_time
parameters. The curb_place_type
and curb_place_id
parameters are optional.
Required for client authentication to query the database.
CDS
The type of curb place this aggregate applies to from the Curbs API: area, zone, space.
CDS
The ID of this curb place.
CDS
The metric this aggregate applies to: total_sessions, average_dwell_time, occupancy_percent
CDS
Latitude at the center of the search circle.
This parameter is conditionally required if either 'lng' or 'radius' is specified.
CDS
Longitude at the center of the search circle.
This parameter is conditionally required if either 'lat' or 'radius' is specified.
CDS
Radius of the search circle.
This parameter is conditionally required if either 'lat' or 'lng' is specified.
CDS
For querying policies associated with all zones within a bounding box.
If any of 'min_lat', 'min_lng', 'max_lat', or 'max_lng' are specified, all must be.
If specified only return Curb Zones that intersect the supplied bounding box.
CDS
For querying policies associated with all zones within a bounding box.
If any of 'min_lat', 'min_lng', 'max_lat', or 'max_lng' are specified, all must be.
If specified only return Curb Zones that intersect the supplied bounding box.
CDS
For querying policies associated with all zones within a bounding box.
If any of 'min_lat', 'min_lng', 'max_lat', or 'max_lng' are specified, all must be.
If specified only return Curb Zones that intersect the supplied bounding box.
CDS
For querying policies associated with all zones within a bounding box.
If any of 'min_lat', 'min_lng', 'max_lat', or 'max_lng' are specified, all must be.
If specified only return Curb Zones that intersect the supplied bounding box.
CDS
The Aggregates object will return all aggregates after this start_time.
This parameter takes a time in the Timestamp format in milliseconds.
Otherwise, the server should reply with 404 Not Found. Availability data (if supplied) will be returned as of this time.
1643130000000
CDS
The Aggregates object will return all aggregates before this end_time.
This parameter takes a time in the Timestamp format in milliseconds.
Otherwise, the server should reply with 404 Not Found. Availability data (if supplied) will be returned as of this time.
1643130000000
CCDS
Default is 100. The maximum response size is 250.
CCDS
Page number for paginated responses, default is 1.
Successful response. Aggregates as comma-separated values.
No content
Bad request. Error in the query parameters such as an invalid token.
GET /metrics/aggregates HTTP/1.1
Host: v2.curbiq-curb-api.io
Accept: */*
No content
Note: Custom response limits have been placed to manage query operations/system loads and response time.
If a
curb_place_id
is not specified:end_time - start_time
should not exceed two weeksIf a
curb_place_id
is specified:end_time - start_time
should not exceed three months
Last updated