获取事件追踪
curl --request GET \
--url http://localhost:8000/dev/apps/{app_name}/debug/trace/{event_id}import requests
url = "http://localhost:8000/dev/apps/{app_name}/debug/trace/{event_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:8000/dev/apps/{app_name}/debug/trace/{event_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}调试 · 开发服务
获取事件追踪
返回事件追踪的属性对象;当前服务没有该追踪时返回 404
仅在启用开发界面的服务中可用,例如 veadk web 或 adk api_server --with_ui;默认 adk api_server 不提供此接口
GET
/
dev
/
apps
/
{app_name}
/
debug
/
trace
/
{event_id}
获取事件追踪
curl --request GET \
--url http://localhost:8000/dev/apps/{app_name}/debug/trace/{event_id}import requests
url = "http://localhost:8000/dev/apps/{app_name}/debug/trace/{event_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:8000/dev/apps/{app_name}/debug/trace/{event_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}最后修改于 2026年9月19日