Get time-bucketed statistics with optional filters
Changed onRequest
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/proxy-logs/stats/time-buckets
- Auth: HTTP bearer
Query parameters
Start time (ISO 8601 format)
End time (ISO 8601 format)
Bucket interval (e.g., "1 hour", "1 day", "5 minutes"). Must keep span / interval ≤ 1000 buckets (7 days at 1 minute is rejected).
Filter by HTTP method
Filter by client IP
Filter by project ID
Filter by environment ID
Filter by deployment ID
Filter by host
Filter by status code
Filter by status code class (e.g. "2xx", "3xx", "4xx", "5xx")
Filter by routing status
Filter by request source
Filter by bot detection
Filter by device type
When true, only count requests that matched a project (project_id IS NOT NULL). Makes chart totals line up with the per-project health cards.
Response
Time-bucketed statistics
Example response
{
"stats": [
{
"bucket": "2025-10-23T12:00:00Z"
}
]
}Changes
- 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 optional property
to the response with the status
- info
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
- warning