Far as I know, the 'hidden' feature is not available via an API. it is part of the UI rendering code.
if hide is turned on then the attribute will not be shown.
only the workitem editor can change the hide setting.
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means.
Learn more here.