Expose user type in Users API to distinguish real users from internal users (e.g. bots)
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
As an admin user of the Gitlab Users API I need to know which of the returned users are "real" users.
And no, exclude_internal=true isn't working here because currently (Gitlab version 13.9) the project access token bots are not excluded (!54714 (merged)).
Intended users
User experience goal
The admin user should be able to use the Users API with GitLab to recognize if a user is a "real" user or one of the various internal users (ghost, alert bot, support bot, project access token bots, ...). This identifying feature should be explicit and not a guessing from username, used license seat or other existing user attributes.
Proposal
Include an additional user attribute indicating the user type.