Search employee skill assignments

Operation ID: searchEmployeeSkillAssignments

Group: People Management › Employee Skill Assignments

Open in the interactive reference

POST /people/employee-skill-assignments/search

Read-only: A read that takes its filters in the body. Changes nothing, and ignores Idempotency-Key.

Searches employee skill assignments in every status. An assignment must match every filter you send. For the skills an employee holds today, send employeeId with approvalStatus 'Approved' and recordStatus 'Active'. Results are ordered by creation, oldest first.

Parameters

Name In Type Required Description
Api-Version header string · v1 yes The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version v1.

Request body

Required, application/json: searchEmployeeSkillAssignmentsInput.

Field Type Required Description
filters object no The filters to apply. An assignment must match every filter you send. Omit to return all assignments.
filters.ids array<string> no Limits results to the assignments with these identifiers.
filters.employeeId string no Limits results to this employee's assignments.
filters.skillId string no Limits results to assignments of this skill.
filters.skillLevelId string no Limits results to assignments at this skill level.
filters.approvalStatus string no Limits results to assignments with this approval status. One of: "Approved", "Pending", "Rejected".
filters.recordStatus string no Limits results to assignments with this record status. One of: "Active", "Inactive", "Deprecated".
page object no Pagination controls. Omit for the first page.
page.cursor string no The cursor from the previous response's pagination.nextCursor. Omit on the first request. Do not construct it.
page.size number no The number of assignments per page, between 1 and 200. Defaults to 50. A value above 200 is treated as 200.
{}

Response

200 Success

Under data (searchEmployeeSkillAssignmentsOutput):

Field Type Required Description
items array<object> yes The assignments on this page. An empty array when nothing matches.
items[].id string yes The unique identifier for the assignment.
items[].employeeId string yes The employee who has the skill. See id on GET people/person.
items[].skillId string yes The skill. See id on GET people/skills.
items[].skillLevelId string yes The level the employee has the skill at. See id on GET people/skill-levels.
items[].approvalStatus string yes The approval status. One of: "Approved", "Pending", "Rejected".
items[].recordStatus string yes 'Active' for the employee's current approved assignment of the skill; 'Inactive' for older versions and for assignments not approved. One of: "Active", "Inactive", "Deprecated".
items[].aiGenerated boolean yes Whether the assignment was suggested by AI.
items[].reasoning string no Why the assignment was made, approved or rejected. Absent when none was written.
items[].employeeNotes string no The employee's own notes on the skill. Absent when none were written.
items[].lastModifiedDate date-time yes The date and time the assignment last changed, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ.
pagination object yes Cursor and flag for fetching the next page.
pagination.nextCursor string no Pass back as page.cursor. Absent on the last page.
pagination.hasMore boolean yes Whether a further page exists.
{
  "data": {
    "items": [
      {
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "employeeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "skillId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "skillLevelId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "approvalStatus": "Approved",
        "recordStatus": "Active",
        "aiGenerated": true,
        "reasoning": "<reasoning>",
        "employeeNotes": "<employeeNotes>",
        "lastModifiedDate": "2026-01-15T09:30:00.000Z"
      }
    ],
    "pagination": {
      "nextCursor": "<nextCursor>",
      "hasMore": true
    }
  },
  "diagnostics": [
    {
      "code": "<code>",
      "message": "<message>",
      "severity": "error",
      "path": [
        "<path>"
      ],
      "details": "<details>"
    }
  ]
}

Errors

Code Status
TOO_MANY_ITEMS 400
INVALID_CURSOR 400

Statuses