GET /v1/projects/{projectOrProductUID}/usage/route-logs
Changed onGet route logs usage for a project with time range and period aggregation, when endDate is 0 or unspecified the current time is implied
Request
- Base URLhttps://api.notefile.net
- URLhttps://api.notefile.net/v1/projects/{projectOrProductUID}/usage/route-logs
- AuthHTTP bearer
Path parameters
Query parameters
Start date for filtering results, specified as a Unix timestamp
End date for filtering results, specified as a Unix timestamp
A Route UID.
Limit the number of data points returned
Period type for aggregation
Aggregation level for results
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
}
]
}Changes
- breaking
for the
queryrequest parameterlimit, the format changed from no format toint32
- breaking
- breaking
the response's body type changed from no type to
objectfor status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking