Get the fleet graph
GET
/admin/fleet/graph
const url = 'https://example.com/v1/admin/fleet/graph';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/fleet/graph \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Nodes and edges for agents, devices, and MCPs
Media typeapplication/json
object
nodes
Array<object>
object
id
string
type
string
label
string
edges
Array<object>
object
source
string
target
string
Example
{ "nodes": [ { "type": "device" } ]}