latestOpenAPI 3.1.02026-08-101722118.3 KB
36cc62fb2aaf
List spend grouped by tool or department.
get/spend
Query parameters
group_by'tool' | 'department'
Aggregation dimension.
toolstring
Filter by tool id or name. Only valid with group_by=tool.
departmentstring
Filter by department id or name. Only valid with group_by=department.
metric'cost' | 'cost_per_person' | 'users'
Metric to rank or read.
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
Spend list.