# Search skill levels

Operation ID: `searchSkillLevels`

Group: People Management › Skill Levels

[Open in the interactive reference](https://lensing.ai/api-docs/lensing/v1/endpoints/searchSkillLevels)

`POST /people/skill-levels/search`

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

Searches skill levels in every status. A record must match every filter you send. Results are ordered by creation, oldest first; sort by skillLevelOrder yourself for the proficiency order.

## 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`: searchSkillLevelsInput.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `filters` | object | no | The filters to apply. A record must match every filter you send. Omit to return all records. |
| `filters.ids` | array<string> | no | Limits results to the records with these identifiers. |
| `filters.status` | string | no | Limits results to records with this status. One of: `"Active"`, `"Inactive"`, `"Deprecated"`. |
| `filters.skillLevelName` | string | no | Limits results to the record with exactly this name. |
| `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 records per page, between 1 and 200. Defaults to 50. A value above 200 is treated as 200. |

```json
{}
```

## Response

`200` Success

Under `data` (searchSkillLevelsOutput):

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `items` | array<object> | yes | The records on this page. An empty array when nothing matches. |
| `items[].id` | string | yes | The unique identifier for the skill level. |
| `items[].skillLevelName` | string | yes | The name of the skill level, for example 'Expert'. |
| `items[].skillLevelOrder` | number | yes | The rank of the level. A higher number is more proficient. |
| `items[].status` | string | yes | The status of the skill level. One of: `"Active"`, `"Inactive"`, `"Deprecated"`. |
| `items[].lastModifiedDate` | date-time | yes | The date and time the skill level 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. |

```json
{
  "data": {
    "items": [
      {
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "skillLevelName": "<skillLevelName>",
        "skillLevelOrder": 0,
        "status": "Active",
        "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

- `400` — Invalid request or business failure. Codes: TOO_MANY_ITEMS, INVALID_CURSOR
- `401` — The request carries no valid access token.
- `403` — Not authorized
- `404` — Not found
- `429` — Too many requests from this client address. The response has no body and no `Retry-After` header.
- `500` — Internal server error
