Get Departments Cost Breakdown
Department cost breakdown with MoM-style previous window and workspace-level summary.
Success data: window, previousWindow, summary, rows (camelCase, departmentName may be null).
Headers
Authorization
Optional. Bearer JWT, Virtual Key, or PAT. Server also accepts Cookie alephant_token; not modeled as a header here.
X-Workspace-Id
Optional in the spec; required for authenticated analytics. Omit for unauthenticated GET /v1/analytics/health.
Query parameters
preset
Calendar preset; default 30d.
start
YYYY-MM-DD with end.
end
YYYY-MM-DD with start.
limit
Max rows (default 50, max 200).
Response
code
message
data