List devices running an agent type
GET
/admin/agents/{agentType}/devices
const url = 'https://example.com/v1/admin/agents/example/devices';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/example/devices \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”agentType
required
string
Responses
Section titled “Responses”Devices running the agent
Media typeapplication/json
Array<object>
object
deviceId
string format: uuid
serialNumber
string
brand
string
model
string
ownerEmail
string format: email
certificateFingerprint
string
status
string
version
string
agentTypes
Array<string>
mcpCount
integer
lastReportedAt
string format: date-time
Example
[ { "status": "online" }]