v1

latestOpenAPI 3.1.02026-07-1740131135.9 KB

Get Current User Info

Return information about the current user.

Args: user (Annotated[User, Depends): user dependency, handled by get_current_user.

Returns: UserPublic: public information about the current user.

get/user_info

Response

Successful Response

usernamestring required
idinteger required
role'guest' | 'dm' | 'analyst' | 'admin' required

Possible user roles.

group_idsinteger[] nullable required
All 40 operations