Skip to main content
GET
Get bucketed per-agent and aggregate availability timeline

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

departmentId
string

Optional department filter. ADMIN/SUPERADMIN may pass any departmentId; DEPARTMENT_HEAD is implicitly scoped to their own department and any other value is ignored.

start
string<date-time>

ISO-8601 start of the window. Defaults to end - 24h.

end
string<date-time>

ISO-8601 end of the window. Defaults to now.

bucketMinutes
integer
default:15

Bucket size in minutes. Clamped to [1, 120].

Required range: 1 <= x <= 120

Response

Availability timeline returned

success
enum<boolean>
required
Available options:
true
data
object
required
Example: