Get bucketed per-agent and aggregate availability timeline
Returns availability state buckets over a time window for charting. Each bucket carries the dominant state per agent and the aggregate state across the org/department, plus per-agent online / available / at-capacity durations within the bucket. Defaults to the last 24 hours with 15-minute buckets if start/end/bucketMinutes are omitted.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Optional department filter. ADMIN/SUPERADMIN may pass any departmentId; DEPARTMENT_HEAD is implicitly scoped to their own department and any other value is ignored.
ISO-8601 start of the window. Defaults to end - 24h.
ISO-8601 end of the window. Defaults to now.
Bucket size in minutes. Clamped to [1, 120].
1 <= x <= 120