How to get the current screen's ID to obtain the currently visible fields?

The REST API lists me all screens, and when I have a screen ID, it lists me the fields on that.

I’d like to know the ID of the currently opened screen so that I can see the currently visible fields.
Is this possible?

(Most preferably, it should be available as a context parameter.)


Anyone else interested in this feature, please vote here: