APITopology

Get topology graph

Aggregated topology graph: nodes per tier with counts, and the edges between them.

GET/topology/graph

Aggregated topology graph: nodes per tier with counts, and the edges between them.

Response Body

application/json

application/json

curl -X GET "https://example.com/topology/graph"
{  "subjects": [    {      "id": "string",      "name": "string",      "kind": "group",      "user_count": 0    }  ],  "agents": [    {      "slug": "string",      "display_name": "string",      "instance_count": 0,      "tag_ids": [        "string"      ]    }  ],  "policies": [    {      "id": "string",      "name": "string",      "effect": "allow",      "status": "string"    }  ],  "mcps": [    {      "id": "string",      "display_name": "string",      "tag_ids": [        "string"      ]    }  ],  "subject_agent_edges": [    {      "subject_id": "string",      "agent_slug": "string",      "user_count": 0    }  ],  "access_edges": [    {      "agent_slug": "string",      "policy_id": "string",      "mcp_id": "string",      "effect": "allow"    }  ],  "activity_edges": [    {      "subject_id": "string",      "agent_slug": "string",      "policy_id": "string",      "mcp_id": "string",      "calls": 0,      "blocked": 0    }  ],  "tags": [    {      "id": "string",      "name": "string",      "color": "string"    }  ]}