ApiSkills

HR Analytics

scope: hr:read

Employees, departments, and monthly headcount/attrition for people analytics.

Departments /departments

6 rows

Reference list of departments.

Fields

departmentcode

Sample row

{
  "department": "Engineering",
  "code": "ENG1"
}

Request

curl "https://api.ifsjaipur.cloud/playground/data/hr/departments?shape=flat&page_size=50" \
  -H "x-api-key: YOUR_API_KEY"

Employees /employees

44 rows

Employee roster; nestable by department.

Fields

emp_idnamedepartmentlevelrolesalarytenure_yearsstatuscity

Sample row

{
  "emp_id": 5000,
  "name": "Ishaan Sharma",
  "department": "Engineering",
  "level": "Senior",
  "role": "Engineering Senior",
  "salary": 2840905,
  "tenure_years": 7,
  "status": "active",
  "city": "Pune"
}

Request

curl "https://api.ifsjaipur.cloud/playground/data/hr/employees?shape=flat&page_size=50" \
  -H "x-api-key: YOUR_API_KEY"

Nestable by department — try ?shape=nested or ?shape=nested-list.

Monthly Headcount /headcount

108 rows

Headcount, hires, and attrition per month; nestable by department.

Fields

monthdepartmentheadcounthiresattritionattrition_pct

Sample row

{
  "month": "2024-01",
  "department": "Engineering",
  "headcount": 7,
  "hires": 0,
  "attrition": 1,
  "attrition_pct": 14.29
}

Request

curl "https://api.ifsjaipur.cloud/playground/data/hr/headcount?shape=flat&page_size=50" \
  -H "x-api-key: YOUR_API_KEY"

Nestable by department — try ?shape=nested or ?shape=nested-list.