Engine API
Get Topology Graph
Returns the full agent-tool topology graph
GET
/
api
/
v1
/
topology
/
graph
Get Topology Graph
curl --request GET \
--url http://localhost:8000/api/v1/topology/graph{
"nodes": [
{
"id": "researcher-agent",
"type": "agent",
"label": "Researcher",
"metadata": {
"framework": "langchain",
"role": "Research and analysis",
"model": "gpt-4o",
"tools_observed": ["search_documents", "fetch_url"],
"maturity": "MATURE"
}
},
{
"id": "tool:search_documents",
"type": "tool",
"label": "search_documents",
"metadata": {
"category": "memory_read"
}
}
],
"edges": [
{
"id": "abc123",
"source": "researcher-agent",
"target": "tool:search_documents",
"type": "agent_to_tool",
"call_count": 42,
"tool_category": "memory_read"
}
]
}
Returns all agent nodes, tool nodes, and their edges. Used by the dashboard’s Topology page.
Query Parameters
Filter the graph to a single service name.
Response
Array of edge objects.
Show child attributes
Show child attributes
Edge identifier
Source node ID
Target node ID
agent_to_agent or agent_to_toolFor agent-to-agent:
function_call or team_memberTimes this connection was observed
For tool edges: total call count
LOW, MEDIUM, or HIGH{
"nodes": [
{
"id": "researcher-agent",
"type": "agent",
"label": "Researcher",
"metadata": {
"framework": "langchain",
"role": "Research and analysis",
"model": "gpt-4o",
"tools_observed": ["search_documents", "fetch_url"],
"maturity": "MATURE"
}
},
{
"id": "tool:search_documents",
"type": "tool",
"label": "search_documents",
"metadata": {
"category": "memory_read"
}
}
],
"edges": [
{
"id": "abc123",
"source": "researcher-agent",
"target": "tool:search_documents",
"type": "agent_to_tool",
"call_count": 42,
"tool_category": "memory_read"
}
]
}
⌘I
Get Topology Graph
curl --request GET \
--url http://localhost:8000/api/v1/topology/graph{
"nodes": [
{
"id": "researcher-agent",
"type": "agent",
"label": "Researcher",
"metadata": {
"framework": "langchain",
"role": "Research and analysis",
"model": "gpt-4o",
"tools_observed": ["search_documents", "fetch_url"],
"maturity": "MATURE"
}
},
{
"id": "tool:search_documents",
"type": "tool",
"label": "search_documents",
"metadata": {
"category": "memory_read"
}
}
],
"edges": [
{
"id": "abc123",
"source": "researcher-agent",
"target": "tool:search_documents",
"type": "agent_to_tool",
"call_count": 42,
"tool_category": "memory_read"
}
]
}

