---
title: "Get user by username"
method: GET
path: "/api/v1alpha/users/{username}"
tags: ["User Management"]
---

# Get user by username

`GET /api/v1alpha/users/{username}`

## Path parameters

- `username` string, required

## Response `200`

User information retrieved successfully

- UserInfo
  - `id` integer — User's unique identifier
  - `username` string — User's username
  - `login_id` string — User's login identifier
  - `state` 'creating' | 'active' | 'deleting' | 'deleted' — Current state of the user account
  - `system_permissions` object — Map of system permission names to whether the user has that permission
  - `is_service_account` boolean — Whether this is a service account
  - `hail_identity` string, nullable — User's Hail identity

## Other responses

- `404` — User not found

---

[API](https://skmtc.net/hail-is/apis/hail-auth-service.md) · [All operations](https://skmtc.net/hail-is/apis/hail-auth-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hail-is/hail-auth-service/versions/ec7e68cd907c/schema)
