Get the agent graph
curl --request GET \
--url http://localhost:8000/dev/apps/{app_name}/graphimport requests
url = "http://localhost:8000/dev/apps/{app_name}/graph"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:8000/dev/apps/{app_name}/graph', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"dotSrc": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Debugging · development server
Get the agent graph
Return an object containing dotSrc; dark_mode defaults to false. Return an empty object if no graph is available
Available only with the development UI enabled, such as veadk web or adk api_server --with_ui; the default adk api_server does not expose this endpoint
GET
/
dev
/
apps
/
{app_name}
/
graph
Get the agent graph
curl --request GET \
--url http://localhost:8000/dev/apps/{app_name}/graphimport requests
url = "http://localhost:8000/dev/apps/{app_name}/graph"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:8000/dev/apps/{app_name}/graph', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"dotSrc": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Path Parameters
Application name
Query Parameters
Use a dark graph background; defaults to false
Response
Successful response
- GetEventGraphResult
- Response Get App Graph Dot Dev Apps App Name Graph Get
Graph definition in Graphviz DOT format
Last modified on September 19, 2026