Get a user’s profile.
Access control:
Args: user_id: The user ID to retrieve principal: The authenticated principal service: User service db: Database session
Returns: User profile data
Raises: HTTPException: If access denied or user not found
Platform token (starts with pat_)
Successful Response
Schema for reading user data (response).
Get user status based on password presence.