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.
Changes
No recorded changes to this endpoint across all 1 revision of this API.