Get an event graph
curl --request GET \
--url http://localhost:8000/dev/apps/{app_name}/users/{user_id}/sessions/{session_id}/events/{event_id}/graph \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:8000/dev/apps/{app_name}/users/{user_id}/sessions/{session_id}/events/{event_id}/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}/users/{user_id}/sessions/{session_id}/events/{event_id}/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 an event graph
Return a DOT graph highlighting nodes associated with the event; return an empty object when the event or graph is unavailable
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}
/
users
/
{user_id}
/
sessions
/
{session_id}
/
events
/
{event_id}
/
graph
Get an event graph
curl --request GET \
--url http://localhost:8000/dev/apps/{app_name}/users/{user_id}/sessions/{session_id}/events/{event_id}/graph \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:8000/dev/apps/{app_name}/users/{user_id}/sessions/{session_id}/events/{event_id}/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}/users/{user_id}/sessions/{session_id}/events/{event_id}/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
User ID
Session ID
Event ID
Response
Successful response
- GetEventGraphResult
- Option 2
Graph definition in Graphviz DOT format
Last modified on September 19, 2026