For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
  • Getting Started
    • Welcome
    • Authentication
    • Quickstart
  • AV / Ride-Hail Analytics
        • GETGet analytics metrics
        • GETGet occupancy trends
        • GETGet usage trends
        • GETGet peak hours
        • GETGet AV provider breakdown
        • GETGet stall utilization by type
        • GETGet zone statistics
  • Direct Delivery
    • Overview
    • Changelog
  • Self-Delivery
    • Coming Soon
LogoLogo
AV / Ride-Hail AnalyticsAPI ReferenceAnalytics

Get occupancy trends

GET
https://api.goautolane.com/api/analytics/occupancy-trends
GET
/api/analytics/occupancy-trends
$curl -G https://api.goautolane.com/api/analytics/occupancy-trends \
> -H "Authorization: Bearer <token>" \
> -d siteId=siteId
1{
2 "status": "success",
3 "data": {
4 "series": [
5 {
6 "timestamp": "2024-01-15T09:30:00Z",
7 "occupancy_percentage": 1.1,
8 "occupied_stalls": 1.1,
9 "total_stalls": 1.1
10 }
11 ],
12 "summary": {
13 "avg_occupancy": 1.1,
14 "peak_occupancy": 1.1,
15 "peak_time": "2024-01-15T09:30:00Z"
16 }
17 }
18}

Returns time-series occupancy data showing stall utilization over the selected period.

Was this page helpful?
Previous

Get usage trends

Next
Built with

Authentication

AuthorizationBearer
Organization API key from your settings page

Query parameters

siteIdstringRequiredformat: "uuid"
UUID of the site to query analytics for
periodenumOptionalDefaults to today

Predefined time period (ignored when startDate/endDate provided)

Allowed values:
startDatedatetimeOptional

Custom range start (ISO 8601). Must be paired with endDate.

endDatedatetimeOptional

Custom range end (ISO 8601). Must be paired with startDate.

granularityenumOptionalDefaults to day
Time bucket size. Hour granularity only available for "today" period.
Allowed values:

Response

Successful response
statusenum
Allowed values:
dataobject
Zod schema for full occupancy trends data

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error