获取事件关联图
curl --request GET \
--url http://localhost:8000/dev/apps/{app_name}/users/{user_id}/sessions/{session_id}/events/{event_id}/graphimport requests
url = "http://localhost:8000/dev/apps/{app_name}/users/{user_id}/sessions/{session_id}/events/{event_id}/graph"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
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": {}
}
]
}调试 · 开发服务
获取事件关联图
返回突出显示事件关联节点的 DOT 图;找不到事件或图时返回空对象
仅在启用开发界面的服务中可用,例如 veadk web 或 adk api_server --with_ui;默认 adk api_server 不提供此接口
GET
/
dev
/
apps
/
{app_name}
/
users
/
{user_id}
/
sessions
/
{session_id}
/
events
/
{event_id}
/
graph
获取事件关联图
curl --request GET \
--url http://localhost:8000/dev/apps/{app_name}/users/{user_id}/sessions/{session_id}/events/{event_id}/graphimport requests
url = "http://localhost:8000/dev/apps/{app_name}/users/{user_id}/sessions/{session_id}/events/{event_id}/graph"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
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": {}
}
]
}最后修改于 2026年9月19日