get_headcount
Aggregates employee counts by department, company, location, or other fields to analyze workforce distribution.
Instructions
Get headcount grouped by a specific field.
Aggregates employee counts by department, company, location, country, etc. Computed client-side since OData v2 doesn't support $apply/groupby.
Note: For large organizations, results are based on up to 5000 active employee records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | ||
| group_by | Yes | Field to group by: 'department', 'company', 'division', 'location', 'countryOfCompany', 'employmentType', 'employeeClass' | |
| data_center | No | ||
| auth_user_id | No | ||
| auth_password | No | ||
| include_inactive | No | Include terminated/inactive employees |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||