usage
Get route logs usage for a project with time range and period aggregation, when endDate is 0 or unspecified the current time is implied
get/v1/projects/{projectOrProductUID}/usage/route-logs
Path parameters
projectOrProductUIDstring required
Query parameters
startDateinteger
Start date for filtering results, specified as a Unix timestamp
endDateinteger
End date for filtering results, specified as a Unix timestamp
routeUIDstring[]
A Route UID.
limitinteger
Limit the number of data points returned
period'day' | 'week' | 'month' required
Period type for aggregation
aggregate'route' | 'project'
Aggregation level for results
skipRecentDataboolean
When true, skips fetching recent data from raw event tables and only returns data from summary tables. Use this for better performance on large projects.
Response
Response body for Route Log Usage
Example response
{
"route_logs": [
{
"avg_latency_ms": 342.5,
"failed_routes": 4,
"period": "2025-07-23T00:00:00Z",
"route": "route:cbd20093cba58392c9f9bbdd0cdeb1a0",
"successful_routes": 38,
"total_routes": 42
}
]
}