The v3 API supports fetching a user’s public SSH and public GPG keys:
However, I can’t find how to do it via v4 API. From the above docs it sounds like this is an experimental feature for v3. Does that mean something similar won’t be supported in v4? The closest thing I could find in the docs was:
But that of course is not the same thing.