Hi Scott,
You can make the following call to determine which NameNode is active / standby:
<p class=”p1″><span class=”s1″>/api/v1/clusters/cluster_name/services/HDFS/components/NAMENODE?fields=host_components/metrics/dfs/FSNamesystem/HAState</span></p>
<p class=”p1″>This will either show “active” or “standby”.</p>
<p class=”p1″>I hope this helps.</p>