{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/_LogsCountRangesBody", "title": "_LogsCountRangesBody", "type": "object", "properties": { "dateRange": { "allOf": [ { "$ref": "#/components/schemas/_DateRange" } ], "description": "Window to bucket. Defaults to last hour. Use a bucket's date_from/date_to from a prior response to recursively narrow into a sub-range." }, "targetBuckets": { "type": "integer", "maximum": 100, "minimum": 1, "default": 10, "description": "Approximate number of buckets to return. The bucket interval is picked adaptively from a fixed list (1/5/10s, 1/2/5/10/15/30/60/120/240/360/720/1440m) to land near this target. Defaults to 10, capped at 100." }, "severityLevels": { "type": "array", "items": { "$ref": "#/components/schemas/SeverityLevelsEnum" }, "description": "Filter by log severity levels. Applied before bucketing." }, "serviceNames": { "type": "array", "items": { "type": "string" }, "description": "Filter by service names. Applied before bucketing." }, "searchTerm": { "type": "string", "description": "Full-text search across log bodies. Applied before bucketing." }, "filterGroup": { "type": "array", "items": { "$ref": "#/components/schemas/_LogPropertyFilter" }, "description": "Property filters applied before bucketing. Same shape as `query-logs`." } } }