Master nodes history

Hi,

Is it possible to know the history of master nodes? which node was master when ...
By an API call not in logs.

No, I think that is only recorded in logs.

Thx.