Cost, requests and tokens per department over time, bucketed as cost-by-user. Each call counts in the department its person was in when it was made. Spend with no department at the time is the group "No department assigned" (departmentId "unassigned"). Groups carry departmentId and parentDepartmentId: hashids as team-medians takes, not the numeric ids of GET /v2/api/departments; series are keyed by id because names can repeat. Metrics: the department's own cost, requests and tokens, which sum across groups to cost-by-user, and the same three WITH_SUBDEPARTMENTS. Calls that name no person are in neither. departmentSetup.status NO_DEPARTMENTS, NO_ASSIGNMENTS or DATA_NOT_LOADED means no groups, never $0; departmentSetup.message says why, setupUrl where to set up. Same filters as cost-by-user. For one figure per group over the whole period, a far smaller answer over a long date range, use get_cost_by_department_aggregated.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||