latestOpenAPI 3.1.02026-08-101722118.3 KB
36cc62fb2aaf
List departments with people and spend metrics.
get/departments
Query parameters
period'last_7d' | 'last_30d' | 'last_90d'
Spend window.
sort'-cost' | 'cost' | '-cost_per_person' | 'cost_per_person' | '-users' | 'users' | 'name' | '-name'
Sort order.
limitinteger
Maximum rows to return.
cursorstring
Cursor from the prior response.
Headers
Oximy-Version'2026-06-29'
Optional dated API version. If sent, it must match the calling key's pinned version.
Response
Departments list.