Skip to main content
Analytics and log queries accept from and to to select a time range. Use a relative value for a rolling window or an absolute timestamp to repeat a query across the same period. Relative units are case-sensitive. For example, -5m means five minutes ago and -5M means five months ago. For an exact instant, include Z or a UTC offset in an ISO 8601 timestamp. A date without a time or offset is interpreted at midnight in the server’s time zone. Numeric timestamps from 0 through 2147483647 are interpreted as seconds. Larger values are interpreted as milliseconds. This request counts queries by status over the last six hours.
For analytics time series with alignment=clock, use the timezone parameter to align the buckets to a local clock. It affects the bucket boundaries only. Use an IANA time zone name such as Europe/Paris or America/New_York. The default is GMT.