---
title: "Search User"
method: POST
path: "/management/v1/search/user"
tags: ["user"]
---

# Search User

`POST /management/v1/search/user`

## Request

- Base URL: `https://localhost`
- URL: `https://localhost/management/v1/search/user`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/docs/management/v1/search/user/post.ts> (a function with typed inputs; its response is checked against the schema)

Performs a fuzzy search for users based on the provided criteria.

## Request body

- SearchUserRequest
  - `search` string, required: Search string for fuzzy search. Length is truncated to 64 characters.

## Response `200`

List of users

- SearchUserResponse: Search result for users
  - `users` SearchUser[], required: List of users matching the search criteria
    - `email` string, nullable: Email of the user. If id is not specified, the email is extracted from the provided token.
    - `id` string, required: ID of the user
    - `name` string, required: Name of the user
    - `user-type` 'human' | 'application', required: Type of a User

## Other responses

- `4XX`

---

[API](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api.md) - [All operations](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/revisions/c5cb9a12a98c?raw)
