Skip to main content
GET
Get project-wide log-volume histogram

Authorizations

api-key
string
header
required

Query Parameters

start_time
string

Window start. ISO 8601 or relative (e.g. "-1h"). Omit to use the default 1-hour window (matches the log query so the histogram and the log table share one time axis).

end_time
string

Window end. Same format as start_time. Defaults to now.

step
integer
default:60

Bin width in SECONDS (5–3600). Each bucket counts logs whose _time falls in [bin, bin+step). Use a small step (e.g. 15) for short windows to resolve a freeze spike.

Required range: 5 <= x <= 3600

Case-insensitive substring to match within log messages, applied server-side across the whole window (same semantics as the log query).

Maximum string length: 256

Response

200 - application/json

Project-wide log-volume histogram over the requested window.

Log-volume histogram: per-severity counts bucketed over time, for correlating log spikes with resource metrics during a freeze.

buckets
object[]
required

Ordered (oldest→newest) time bins. A bin with no logs may be omitted — treat gaps as zero when rendering.

step
integer
required

Bin width in seconds actually used.

window
object
required

The resolved time window these buckets cover (after applying the default window).