获取服务版本
curl --request GET \
--url http://localhost:8000/versionimport requests
url = "http://localhost:8000/version"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:8000/version', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"version": "2.2.0",
"language": "python",
"language_version": "3.12.0"
}服务与应用
获取服务版本
返回 Google ADK 版本、运行语言及语言版本
GET
/
version
获取服务版本
curl --request GET \
--url http://localhost:8000/versionimport requests
url = "http://localhost:8000/version"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:8000/version', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"version": "2.2.0",
"language": "python",
"language_version": "3.12.0"
}最后修改于 2026年9月19日