---
title: "Whoami"
method: GET
path: "/management/v1/whoami"
tags: ["user"]
---

# Whoami

`GET /management/v1/whoami`

## Request

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

Returns information about the user associated with the current authentication token.

## Response `200`

Current user and instance-admin status

- WhoamiResponse: Response of the `whoami` endpoint: the catalog user for the current token, plus request-scoped privilege not stored on the user record.
  - `created-at` string, date-time, required: Timestamp when the user was created
  - `email` string, nullable: Email of the user
  - `id` string, required: The user's ID
  - `last-updated-with` 'create-endpoint' | 'config-call-creation' | 'update-endpoint' | 'role-provider', required: How the user was last updated
  - `name` string, required: Name of the user
  - `updated-at` string, date-time, nullable: Timestamp when the user was last updated
  - `user-type` 'human' | 'application', required: Type of a User
  - `is-instance-admin` boolean, required: Whether the authenticated principal is an instance admin (configured via `LAKEKEEPER__INSTANCE_ADMINS`). Instance admins may modify the spec of warehouses marked `managed-by: instance-admin`. Only ever `true` for a principal acting directly; role-assumed requests do not inherit it.

## 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)
