Documentation Index
Fetch the complete documentation index at: https://unkey.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
err:user:bad_request:query_range_exceeds_retentionWhat does this error mean?
This error occurs when your analytics query attempts to access data older than your workspace’s configured data retention period. By default, Unkey retains analytics data for 30 days. Note: If you don’t provide a time filter in your query, the system automatically adds one to scope your query to the full retention period (e.g.,time >= now() - INTERVAL 30 DAY). This error only occurs when you explicitly specify a time range that goes beyond the retention period.
Common causes
- Querying historical data beyond retention: Your query’s time filter includes dates older than your retention period
How to fix
-
Add a time filter within retention: Ensure your query only accesses data within your retention period
-
Adjust your query range: If you need to analyze trends, query within your available retention window

