List agent aggregates
GET
/admin/agents
const url = 'https://example.com/v1/admin/agents';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/admin/agents \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Distinct agent types across the fleet
Media typeapplication/json
Array<object>
object
agentType
string
displayName
string
deviceCount
integer
mcpCount
integer
statusDistribution
object
key
additional properties
integer
Example generated
[ { "agentType": "example", "displayName": "example", "deviceCount": 1, "mcpCount": 1, "statusDistribution": { "additionalProperty": 1 } }]