Get the agent graph
curl --request GET \
--url http://localhost:8000/dev/apps/{app_name}/graph \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:8000/dev/apps/{app_name}/graph"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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": {}
}
]
}Development debugging
Get the agent graph
Return an object containing dotSrc; dark_mode defaults to false. Return an empty object if no graph is available
Exposed by the verified SDK/ADK versions for trusted development and debugging. Paths depend on the installed ADK version and should not be used as public application entry points
GET
/
dev
/
apps
/
{app_name}
/
graph
Get the agent graph
curl --request GET \
--url http://localhost:8000/dev/apps/{app_name}/graph \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:8000/dev/apps/{app_name}/graph"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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": {}
}
]
}Authorizations
Optional locally without a gateway; cloud deployments use the Runtime API key or user-pool JWT required by that deployment, never the model API key
Path Parameters
Application name; harness_agent for the CLI deployment
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