Object

AgentPool

A pool to which agents can be assigned to dedicate agents to specific sites

Fields

id(): ID!
The unique identifier of the agent pool.
name(): String
The name of the agent pool.
description(): String
The description of the agent pool.
agents(): [Agent!]
The agents in the pool.
sites(): [Site!]
The sites that use the pool.

Example

Query
query GetAgentPools {
  agent_pools {
    id
    name
    description
    agents {
      id
      name
    }
    sites {
      id
    }
  }
}
Result
{
  "data": {
    "agent_pools": [
      {
        "id": "-1",
        "name": "Default pool",
        "description": "By default, all scanning machines will belong to this pool unless you reassign them.",
        "agents": [],
        "sites": []
      }
    ]
  }
}