system.eam.queryAgentStatus(groupIds, agentIds, isConnected)
List groupIds - A list of groups to restrict the results to. If not specified, all groups will be included.
List agentIds - A list of agent names to restrict the results to. If not specified, all agents will be allowed.
Boolean isConnected - If True, only returns agents that are currently connected. If False, only agents that are considered down will be returned, and if not specified, all agents will be returned.
Dataset - A dataset with columns AgentName, NodeRole, AgentGroup, LastCommunication, IsConnected, IsRunning, RunningState, RunningStateInt, LicenseKey, and Version, where each row is a new agent.
Possible values for RunningState and RunningStateInt are: 0 = Disconnected, 1 = Running, 2 = Warned, 3 = Errored
Gateway, Vision Client, Perspective Session